diff options
author | Bodo Möller <bodo@openssl.org> | 2006-01-07 20:33:16 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2006-01-07 20:33:16 +0000 |
commit | d32f888db1ead22f0beaa1b457c77fffcbbd22d1 (patch) | |
tree | 0a7a543352e04e35a778c0b597e0cfe6cec7d2ed /ssl/s3_enc.c | |
parent | f7914dbf9a91e875c205b4f0f67730bba9cb3939 (diff) |
prepare for additional RFC3546 alerts
Diffstat (limited to 'ssl/s3_enc.c')
-rw-r--r-- | ssl/s3_enc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c index e8caf9628a..4baba2efb5 100644 --- a/ssl/s3_enc.c +++ b/ssl/s3_enc.c @@ -709,7 +709,11 @@ int ssl3_alert_code(int code) case SSL_AD_INTERNAL_ERROR: return(SSL3_AD_HANDSHAKE_FAILURE); case SSL_AD_USER_CANCELLED: return(SSL3_AD_HANDSHAKE_FAILURE); case SSL_AD_NO_RENEGOTIATION: return(-1); /* Don't send it :-) */ + case SSL_AD_UNSUPPORTED_EXTENSION: return(SSL3_AD_HANDSHAKE_FAILURE); + case SSL_AD_CERTIFICATE_UNOBTAINABLE: return(SSL3_AD_HANDSHAKE_FAILURE); case SSL_AD_UNRECOGNIZED_NAME: return(SSL3_AD_HANDSHAKE_FAILURE); + case SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE: return(SSL3_AD_HANDSHAKE_FAILURE); + case SSL_AD_BAD_CERTIFICATE_HASH_VALUE: return(SSL3_AD_HANDSHAKE_FAILURE); default: return(-1); } } |