diff options
author | jsing <> | 2020-01-21 05:19:02 +0000 |
---|---|---|
committer | jsing <> | 2020-01-21 05:19:02 +0000 |
commit | 460496e02df69c7c7be18c9b45a095914ee59be4 (patch) | |
tree | db92f8cad8bd91994d19bc6916dbc4522fb4ef95 /src/lib/libssl/ssl.h | |
parent | f9666f9db9296ab0643d410ce0eb3486772e422d (diff) | |
download | openbsd-460496e02df69c7c7be18c9b45a095914ee59be4.tar.gz openbsd-460496e02df69c7c7be18c9b45a095914ee59be4.tar.bz2 openbsd-460496e02df69c7c7be18c9b45a095914ee59be4.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 'src/lib/libssl/ssl.h')
-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 |