summaryrefslogtreecommitdiffstats
path: root/lib/libtls
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2021-01-05 17:37:12 +0000
committerjsing <jsing@openbsd.org>2021-01-05 17:37:12 +0000
commit7a6bb14936050379800deb10d4a137c4d2d4a3c4 (patch)
tree85f52aef60b1952cbdb03276884a8b463a68b375 /lib/libtls
parentUse consistent names in tls13_{client,server}_finished_{recv,send}(). (diff)
downloadwireguard-openbsd-7a6bb14936050379800deb10d4a137c4d2d4a3c4.tar.xz
wireguard-openbsd-7a6bb14936050379800deb10d4a137c4d2d4a3c4.zip
Fix indent.
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/tls_keypair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtls/tls_keypair.c b/lib/libtls/tls_keypair.c
index 78e9a08da01..a12d21d0da3 100644
--- a/lib/libtls/tls_keypair.c
+++ b/lib/libtls/tls_keypair.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_keypair.c,v 1.7 2020/12/15 08:47:45 inoguchi Exp $ */
+/* $OpenBSD: tls_keypair.c,v 1.8 2021/01/05 17:37:12 jsing Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -155,7 +155,7 @@ tls_keypair_load_cert(struct tls_keypair *keypair, struct tls_error *error,
if ((*cert = PEM_read_bio_X509(cert_bio, NULL, tls_password_cb,
NULL)) == NULL) {
if ((ssl_err = ERR_peek_error()) != 0)
- errstr = ERR_error_string(ssl_err, NULL);
+ errstr = ERR_error_string(ssl_err, NULL);
tls_error_set(error, "failed to load certificate: %s", errstr);
goto err;
}