diff options
Diffstat (limited to 'src/lib/libssl/s23_srvr.c')
-rw-r--r-- | src/lib/libssl/s23_srvr.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/libssl/s23_srvr.c b/src/lib/libssl/s23_srvr.c index 8010d72fa7..c63ede8680 100644 --- a/src/lib/libssl/s23_srvr.c +++ b/src/lib/libssl/s23_srvr.c | |||
@@ -324,12 +324,7 @@ ssl23_get_client_hello(SSL *s) | |||
324 | * so we simply assume TLS 1.0 to avoid protocol version downgrade | 324 | * so we simply assume TLS 1.0 to avoid protocol version downgrade |
325 | * attacks. */ | 325 | * attacks. */ |
326 | if (p[3] == 0 && p[4] < 6) { | 326 | if (p[3] == 0 && p[4] < 6) { |
327 | #if 0 | ||
328 | SSLerr(SSL_F_SSL23_GET_CLIENT_HELLO, SSL_R_RECORD_TOO_SMALL); | ||
329 | goto err; | ||
330 | #else | ||
331 | v[1] = TLS1_VERSION_MINOR; | 327 | v[1] = TLS1_VERSION_MINOR; |
332 | #endif | ||
333 | } | 328 | } |
334 | /* if major version number > 3 set minor to a value | 329 | /* if major version number > 3 set minor to a value |
335 | * which will use the highest version 3 we support. | 330 | * which will use the highest version 3 we support. |