Add three Suite B modes to TLS code, supporting RFC6460.
(backport from HEAD)
This commit is contained in:
@@ -425,6 +425,13 @@ int ssl23_get_client_hello(SSL *s)
|
||||
}
|
||||
}
|
||||
|
||||
if (s->version < TLS1_2_VERSION && tls1_suiteb(s))
|
||||
{
|
||||
SSLerr(SSL_F_SSL23_GET_CLIENT_HELLO,
|
||||
SSL_R_ONLY_TLS_1_2_ALLOWED_IN_SUITEB_MODE);
|
||||
goto err;
|
||||
}
|
||||
|
||||
#ifdef OPENSSL_FIPS
|
||||
if (FIPS_mode() && (s->version < TLS1_VERSION))
|
||||
{
|
||||
|
Reference in New Issue
Block a user