diff options
author | Matt Caswell <matt@openssl.org> | 2017-11-23 12:10:54 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-12-04 13:31:48 +0000 |
commit | 47e2ee072290db534720565318f0a8110a2e7d92 (patch) | |
tree | de0339da635ef1d0d1905b242ee4ed9fbe174183 /include | |
parent | 635c8f771574fbf48281b2372a2f7aba0c673544 (diff) |
Add some sanity checks for the fatal error condition
Sometimes at the top level of the state machine code we know we are
supposed to be in a fatal error condition. This commit adds some sanity
checks to ensure that SSLfatal() has been called.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4778)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/sslerr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/sslerr.h b/include/openssl/sslerr.h index 9774f9ff19..6662f667e6 100644 --- a/include/openssl/sslerr.h +++ b/include/openssl/sslerr.h @@ -547,6 +547,7 @@ int ERR_load_SSL_strings(void); # define SSL_R_LIBRARY_HAS_NO_CIPHERS 161 # define SSL_R_MISSING_DSA_SIGNING_CERT 165 # define SSL_R_MISSING_ECDSA_SIGNING_CERT 381 +# define SSL_R_MISSING_FATAL 256 # define SSL_R_MISSING_RSA_CERTIFICATE 168 # define SSL_R_MISSING_RSA_ENCRYPTING_CERT 169 # define SSL_R_MISSING_RSA_SIGNING_CERT 170 |