summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2021-03-02 15:43:12 +0000
committertb <tb@openbsd.org>2021-03-02 15:43:12 +0000
commitdd1c6ecae4626f2b68bafcf01430f7bd8ae0c41e (patch)
treea49daef9a2be323942d95aedaef8eeca94633221 /lib/libssl/ssl_lib.c
parentThis diff soaks up the user input while the the maximum character (diff)
downloadwireguard-openbsd-dd1c6ecae4626f2b68bafcf01430f7bd8ae0c41e.tar.xz
wireguard-openbsd-dd1c6ecae4626f2b68bafcf01430f7bd8ae0c41e.zip
Fix misleading indentation in SSL_get_error()
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r--lib/libssl/ssl_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c
index e0a77d78201..4b215a786de 100644
--- a/lib/libssl/ssl_lib.c
+++ b/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.250 2021/02/27 14:20:50 jsing Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.251 2021/03/02 15:43:12 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -2387,7 +2387,7 @@ SSL_get_error(const SSL *s, int i)
if (i == 0) {
if ((s->internal->shutdown & SSL_RECEIVED_SHUTDOWN) &&
(S3I(s)->warn_alert == SSL_AD_CLOSE_NOTIFY))
- return (SSL_ERROR_ZERO_RETURN);
+ return (SSL_ERROR_ZERO_RETURN);
}
return (SSL_ERROR_SYSCALL);
}