Skip to content

Commit

Permalink
Set security level to zero is ssltest
Browse files Browse the repository at this point in the history
Since ssltest needs to test low security ciphersuites and keys
set security level to zero so they aren't rejected.
  • Loading branch information
snhenson committed Mar 28, 2014
1 parent e03c5b5 commit 77a926e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ssl/ssltest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1507,6 +1507,11 @@ int main(int argc, char *argv[])
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)
{
Expand Down

0 comments on commit 77a926e

Please sign in to comment.