mirror of
https://github.com/openssl/openssl.git
synced 2024-11-26 11:34:00 +08:00
Set security level to zero is ssltest
Since ssltest needs to test low security ciphersuites and keys set security level to zero so they aren't rejected.
This commit is contained in:
parent
e03c5b59f0
commit
77a926e676
@ -1507,6 +1507,11 @@ bad:
|
||||
ERR_print_errors(bio_err);
|
||||
goto end;
|
||||
}
|
||||
/* Since we will use low security ciphersuites and keys for
|
||||
* testing set security level to zero.
|
||||
*/
|
||||
SSL_CTX_set_security_level(c_ctx, 0);
|
||||
SSL_CTX_set_security_level(s_ctx, 0);
|
||||
|
||||
if (cipher != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user