summaryrefslogtreecommitdiffstats
path: root/ssl/s23_srvr.c
diff options
context:
space:
mode:
authorBodo Moeller <bodo@openssl.org>2014-10-15 04:03:28 +0200
committerBodo Moeller <bodo@openssl.org>2014-10-15 04:03:28 +0200
commitcf6da05304d554aaa885151451aa4ecaa977e601 (patch)
treebe3b67fd78ae75a3cc8e6b79f934a5db63ea11e4 /ssl/s23_srvr.c
parentffa08b3242e0f10f1fef3c93ef3f0b51de8c27a9 (diff)
Support TLS_FALLBACK_SCSV.
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'ssl/s23_srvr.c')
-rw-r--r--ssl/s23_srvr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/s23_srvr.c b/ssl/s23_srvr.c
index 484a1a6e26..79d974f5a5 100644
--- a/ssl/s23_srvr.c
+++ b/ssl/s23_srvr.c
@@ -421,6 +421,9 @@ int ssl23_get_client_hello(SSL *s)
}
}
+ /* ensure that TLS_MAX_VERSION is up-to-date */
+ OPENSSL_assert(s->version <= TLS_MAX_VERSION);
+
if (s->version < TLS1_2_VERSION && tls1_suiteb(s))
{
SSLerr(SSL_F_SSL23_GET_CLIENT_HELLO,