diff options
| author | tb <> | 2021-03-02 15:43:12 +0000 |
|---|---|---|
| committer | tb <> | 2021-03-02 15:43:12 +0000 |
| commit | be5fce2519e22872d119ff90a75378059821cca1 (patch) | |
| tree | 80faf31bf856189fb0d8f514bc09f557d10a498b /src | |
| parent | a11a6f00b2fc0a99e3a11a24ddfdd1b2bf16207a (diff) | |
| download | openbsd-be5fce2519e22872d119ff90a75378059821cca1.tar.gz openbsd-be5fce2519e22872d119ff90a75378059821cca1.tar.bz2 openbsd-be5fce2519e22872d119ff90a75378059821cca1.zip | |
Fix misleading indentation in SSL_get_error()
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/ssl_lib.c | 4 |
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 | } |
