summaryrefslogtreecommitdiffstats
path: root/ssl/s23_srvr.c
diff options
context:
space:
mode:
authorBodo Moeller <bodo@openssl.org>2014-10-15 04:18:29 +0200
committerBodo Moeller <bodo@openssl.org>2014-10-15 04:18:29 +0200
commitc6a876473cbff0fd323c8abcaace98ee2d21863d (patch)
treee27388ca48f3cc5c4306e0ffee56e592e07fe661 /ssl/s23_srvr.c
parent5a7fc89394bb11dc8ac578d23d77762d2d58fff2 (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 e544853ae4..df08873159 100644
--- a/ssl/s23_srvr.c
+++ b/ssl/s23_srvr.c
@@ -398,6 +398,9 @@ int ssl23_get_client_hello(SSL *s)
}
#endif
+ /* ensure that TLS_MAX_VERSION is up-to-date */
+ OPENSSL_assert(s->version <= TLS_MAX_VERSION);
+
if (s->state == SSL23_ST_SR_CLNT_HELLO_B)
{
/* we have SSLv3/TLSv1 in an SSLv2 header