summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2021-03-02 15:43:12 +0000
committertb <>2021-03-02 15:43:12 +0000
commit98935779b72cb6af2c61e5b3f22b3314433bcac7 (patch)
tree80faf31bf856189fb0d8f514bc09f557d10a498b /src/lib
parentb8b749ab9cb50a2020474c26ae7d5e4c211b5f54 (diff)
downloadopenbsd-98935779b72cb6af2c61e5b3f22b3314433bcac7.tar.gz
openbsd-98935779b72cb6af2c61e5b3f22b3314433bcac7.tar.bz2
openbsd-98935779b72cb6af2c61e5b3f22b3314433bcac7.zip
Fix misleading indentation in SSL_get_error()
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/ssl_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index e0a77d7820..4b215a786d 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.250 2021/02/27 14:20:50 jsing Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.251 2021/03/02 15:43:12 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -2387,7 +2387,7 @@ SSL_get_error(const SSL *s, int i)
2387 if (i == 0) { 2387 if (i == 0) {
2388 if ((s->internal->shutdown & SSL_RECEIVED_SHUTDOWN) && 2388 if ((s->internal->shutdown & SSL_RECEIVED_SHUTDOWN) &&
2389 (S3I(s)->warn_alert == SSL_AD_CLOSE_NOTIFY)) 2389 (S3I(s)->warn_alert == SSL_AD_CLOSE_NOTIFY))
2390 return (SSL_ERROR_ZERO_RETURN); 2390 return (SSL_ERROR_ZERO_RETURN);
2391 } 2391 }
2392 return (SSL_ERROR_SYSCALL); 2392 return (SSL_ERROR_SYSCALL);
2393} 2393}