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:
Dr. Stephen Henson 2014-02-16 12:50:18 +00:00
parent e03c5b59f0
commit 77a926e676

View File

@ -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)
{