summaryrefslogtreecommitdiff
path: root/lib/libtls/tls.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-01-13 17:09:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-01-13 17:09:52 +0000
commitea4deda5cd85a5838f2d469569f8557692af7147 (patch)
treebd75b7b621b5a86e8ba199d40f42dbac90984dcf /lib/libtls/tls.c
parent6aafbafaa153328623c5239330a73a8c986895fb (diff)
whitespace
Diffstat (limited to 'lib/libtls/tls.c')
-rw-r--r--lib/libtls/tls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libtls/tls.c b/lib/libtls/tls.c
index c85e5449d88..85ed883e8e9 100644
--- a/lib/libtls/tls.c
+++ b/lib/libtls/tls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls.c,v 1.56 2017/01/03 17:19:57 jsing Exp $ */
+/* $OpenBSD: tls.c,v 1.57 2017/01/13 17:09:51 deraadt Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -557,7 +557,7 @@ tls_handshake(struct tls *ctx)
rv = tls_handshake_server(ctx);
if (rv == 0) {
- ctx->ssl_peer_cert = SSL_get_peer_certificate(ctx->ssl_conn);
+ ctx->ssl_peer_cert = SSL_get_peer_certificate(ctx->ssl_conn);
if (tls_conninfo_populate(ctx) == -1)
rv = -1;
if (ctx->ocsp == NULL)
@@ -623,7 +623,7 @@ tls_write(struct tls *ctx, const void *buf, size_t buflen)
rv = (ssize_t)ssl_ret;
goto out;
}
- rv = (ssize_t)tls_ssl_error(ctx, ctx->ssl_conn, ssl_ret, "write");
+ rv = (ssize_t)tls_ssl_error(ctx, ctx->ssl_conn, ssl_ret, "write");
out:
/* Prevent callers from performing incorrect error handling */