diff options
author | mancha <mancha1@hush.com> | 2014-03-27 00:47:14 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-03-27 00:54:16 +0000 |
commit | a375025e4dd58a05e926a5384774a85671695dd9 (patch) | |
tree | 539aeda4483ab674eb4c0f843cb6f8afe4de6acc /ssl/t1_enc.c | |
parent | d471adf351b92d38992cbe2374ad6e9d81a51a75 (diff) |
Fix alert handling.
Fix OpenSSL 0.9.8 alert handling.
PR#3038
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r-- | ssl/t1_enc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 323d3847d4..ad6b637c89 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -853,6 +853,12 @@ int tls1_alert_code(int code) case SSL_AD_INTERNAL_ERROR: return(TLS1_AD_INTERNAL_ERROR); case SSL_AD_USER_CANCELLED: return(TLS1_AD_USER_CANCELLED); case SSL_AD_NO_RENEGOTIATION: return(TLS1_AD_NO_RENEGOTIATION); + case SSL_AD_UNSUPPORTED_EXTENSION: return(TLS1_AD_UNSUPPORTED_EXTENSION); + case SSL_AD_CERTIFICATE_UNOBTAINABLE: return(TLS1_AD_CERTIFICATE_UNOBTAINABLE); + case SSL_AD_UNRECOGNIZED_NAME: return(TLS1_AD_UNRECOGNIZED_NAME); + case SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE: return(TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE); + case SSL_AD_BAD_CERTIFICATE_HASH_VALUE: return(TLS1_AD_BAD_CERTIFICATE_HASH_VALUE); + case SSL_AD_UNKNOWN_PSK_IDENTITY:return(TLS1_AD_UNKNOWN_PSK_IDENTITY); #ifdef DTLS1_AD_MISSING_HANDSHAKE_MESSAGE case DTLS1_AD_MISSING_HANDSHAKE_MESSAGE: return (DTLS1_AD_MISSING_HANDSHAKE_MESSAGE); |