diff options
author | Bodo Moeller <bodo@openssl.org> | 2014-10-15 04:18:29 +0200 |
---|---|---|
committer | Bodo Moeller <bodo@openssl.org> | 2014-10-15 04:18:29 +0200 |
commit | c6a876473cbff0fd323c8abcaace98ee2d21863d (patch) | |
tree | e27388ca48f3cc5c4306e0ffee56e592e07fe661 /ssl/s23_srvr.c | |
parent | 5a7fc89394bb11dc8ac578d23d77762d2d58fff2 (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.c | 3 |
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 |