diff options
author | Adam Langley <agl@chromium.org> | 2014-06-20 23:00:00 +0400 |
---|---|---|
committer | Adam Langley <agl@chromium.org> | 2014-06-21 00:17:36 +0400 |
commit | 2970779684c6f164a0e261e96a3d59f331123320 (patch) | |
tree | 8a37efd8aa916a193f1fea12f1dd7880d9b04a0d /ssl/s3_enc.c | |
parent | 735107652b0df9941d60f4259e15150962ca34bb (diff) |
Fallback SCSV.
This patch adds server-side support for TLS_FALLBACK_SCSV (see
http://tools.ietf.org/html/draft-bmoeller-tls-downgrade-scsv-01).
Diffstat (limited to 'ssl/s3_enc.c')
-rw-r--r-- | ssl/s3_enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c index c275a9a5..b35af844 100644 --- a/ssl/s3_enc.c +++ b/ssl/s3_enc.c @@ -878,6 +878,7 @@ int ssl3_alert_code(int code) case SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE: return(SSL3_AD_HANDSHAKE_FAILURE); case SSL_AD_BAD_CERTIFICATE_HASH_VALUE: return(SSL3_AD_HANDSHAKE_FAILURE); case SSL_AD_UNKNOWN_PSK_IDENTITY:return(TLS1_AD_UNKNOWN_PSK_IDENTITY); + case SSL_AD_INAPPROPRIATE_FALLBACK:return(SSL3_AD_INAPPROPRIATE_FALLBACK); default: return(-1); } } |