diff options
| author | jsing <> | 2020-01-21 05:19:02 +0000 |
|---|---|---|
| committer | jsing <> | 2020-01-21 05:19:02 +0000 |
| commit | b37508927616e0339a6459a12d43ae4a56ef7b3d (patch) | |
| tree | db92f8cad8bd91994d19bc6916dbc4522fb4ef95 /src/lib/libssl/ssl.h | |
| parent | caf0ffb8aaaf58c5a55de1a955c64b32d52b8e7f (diff) | |
| download | openbsd-b37508927616e0339a6459a12d43ae4a56ef7b3d.tar.gz openbsd-b37508927616e0339a6459a12d43ae4a56ef7b3d.tar.bz2 openbsd-b37508927616e0339a6459a12d43ae4a56ef7b3d.zip | |
Provide SSL_R_UNKNOWN.
This allows us to indicate that the cause of the failure is unknown, rather
than implying that it was an internal error when it was not.
ok beck@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 521fb537de..8ac05ca70f 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl.h,v 1.167 2020/01/02 06:37:13 jsing Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.168 2020/01/21 05:19:02 jsing 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 | * |
| @@ -2162,6 +2162,7 @@ void ERR_load_SSL_strings(void); | |||
| 2162 | #define SSL_R_X509_LIB 268 | 2162 | #define SSL_R_X509_LIB 268 |
| 2163 | #define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269 | 2163 | #define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269 |
| 2164 | #define SSL_R_PEER_BEHAVING_BADLY 666 | 2164 | #define SSL_R_PEER_BEHAVING_BADLY 666 |
| 2165 | #define SSL_R_UNKNOWN 999 | ||
| 2165 | 2166 | ||
| 2166 | /* | 2167 | /* |
| 2167 | * OpenSSL compatible OPENSSL_INIT options | 2168 | * OpenSSL compatible OPENSSL_INIT options |
