Commit 77a926e6 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

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.
parent e03c5b59
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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)
		{