summaryrefslogtreecommitdiffstats
path: root/lib/libtls
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-06-22 17:58:54 +0000
committerjsing <jsing@openbsd.org>2017-06-22 17:58:54 +0000
commit3b7b33dd91ab32d364b0affd41a19083adede47b (patch)
treedd88f1f029a80657b4796f16162356364fbf7aca /lib/libtls
parentPlug a memory leak in tls_keypair_cert_hash(), introduced in r1.60. (diff)
downloadwireguard-openbsd-3b7b33dd91ab32d364b0affd41a19083adede47b.tar.xz
wireguard-openbsd-3b7b33dd91ab32d364b0affd41a19083adede47b.zip
Fix incorrect indentation.
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtls/tls.c b/lib/libtls/tls.c
index e6135aedef4..b75fae7f2b3 100644
--- a/lib/libtls/tls.c
+++ b/lib/libtls/tls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls.c,v 1.65 2017/06/22 17:55:48 jsing Exp $ */
+/* $OpenBSD: tls.c,v 1.66 2017/06/22 17:58:54 jsing Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -640,7 +640,7 @@ tls_handshake(struct tls *ctx)
ctx->ssl_peer_cert = SSL_get_peer_certificate(ctx->ssl_conn);
ctx->ssl_peer_chain = SSL_get_peer_cert_chain(ctx->ssl_conn);
if (tls_conninfo_populate(ctx) == -1)
- rv = -1;
+ rv = -1;
if (ctx->ocsp == NULL)
ctx->ocsp = tls_ocsp_setup_from_peer(ctx);
}