summaryrefslogtreecommitdiffstats
path: root/ssl/s23_srvr.c
diff options
context:
space:
mode:
authorBodo Moeller <bodo@openssl.org>2014-10-15 04:05:42 +0200
committerBodo Moeller <bodo@openssl.org>2014-10-15 04:05:42 +0200
commit6bfe55380abbf7528e04e59f18921bd6c896af1c (patch)
tree1398d8e3eba72f8d5e50bd0eef8ec030422a15c0 /ssl/s23_srvr.c
parent4e05aedbcab7f7f83a887e952ebdcc5d4f2291e4 (diff)
Support TLS_FALLBACK_SCSV.
Reviewed-by: Rich Salz <rsalz@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 2901a6bd01..567a6b1005 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);
+
#ifdef OPENSSL_FIPS
if (FIPS_mode() && (s->version < TLS1_VERSION))
{