diff options
Diffstat (limited to 'src/lib/libssl/s23_srvr.c')
| -rw-r--r-- | src/lib/libssl/s23_srvr.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/libssl/s23_srvr.c b/src/lib/libssl/s23_srvr.c index 2aad21e93c..ca95d4e636 100644 --- a/src/lib/libssl/s23_srvr.c +++ b/src/lib/libssl/s23_srvr.c | |||
| @@ -115,9 +115,6 @@ | |||
| 115 | #include <openssl/rand.h> | 115 | #include <openssl/rand.h> |
| 116 | #include <openssl/objects.h> | 116 | #include <openssl/objects.h> |
| 117 | #include <openssl/evp.h> | 117 | #include <openssl/evp.h> |
| 118 | #ifdef OPENSSL_FIPS | ||
| 119 | #include <openssl/fips.h> | ||
| 120 | #endif | ||
| 121 | 118 | ||
| 122 | static const SSL_METHOD *ssl23_get_server_method(int ver); | 119 | static const SSL_METHOD *ssl23_get_server_method(int ver); |
| 123 | int ssl23_get_client_hello(SSL *s); | 120 | int ssl23_get_client_hello(SSL *s); |
| @@ -388,14 +385,6 @@ ssl23_get_client_hello(SSL *s) | |||
| 388 | } | 385 | } |
| 389 | } | 386 | } |
| 390 | 387 | ||
| 391 | #ifdef OPENSSL_FIPS | ||
| 392 | if (FIPS_mode() && (s->version < TLS1_VERSION)) { | ||
| 393 | SSLerr(SSL_F_SSL23_GET_CLIENT_HELLO, | ||
| 394 | SSL_R_ONLY_TLS_ALLOWED_IN_FIPS_MODE); | ||
| 395 | goto err; | ||
| 396 | } | ||
| 397 | #endif | ||
| 398 | |||
| 399 | if (s->state == SSL23_ST_SR_CLNT_HELLO_B) { | 388 | if (s->state == SSL23_ST_SR_CLNT_HELLO_B) { |
| 400 | /* we have SSLv3/TLSv1 in an SSLv2 header | 389 | /* we have SSLv3/TLSv1 in an SSLv2 header |
| 401 | * (other cases skip this state) */ | 390 | * (other cases skip this state) */ |
