diff options
author | Emilia Kasper <emilia@openssl.org> | 2015-05-26 14:32:57 +0200 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2015-05-27 17:22:56 +0200 |
commit | 15a06488fcced19b79708a0329313121e01ded7e (patch) | |
tree | 90cb7a3bec396a346b9d158a408f28023d800e87 /test/ssltest.c | |
parent | f2e19cb15e3d68c748ce3dc2b791be9a2fc14fd3 (diff) | |
download | openssl-15a06488fcced19b79708a0329313121e01ded7e.zip openssl-15a06488fcced19b79708a0329313121e01ded7e.tar.gz openssl-15a06488fcced19b79708a0329313121e01ded7e.tar.bz2 |
Enable DH tests
In master, the 'dh' command is gone, so use 'dhparam' instead to
determine if we're compiled with DH.
Also, set "@SECLEVEL=1" for the weak DH test, so that it actually
passes.
Reviewed-by: Dr Stephen Henson <steve@openssl.org>
Diffstat (limited to 'test/ssltest.c')
-rw-r--r-- | test/ssltest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ssltest.c b/test/ssltest.c index f640d92..26cf96c 100644 --- a/test/ssltest.c +++ b/test/ssltest.c @@ -1429,7 +1429,8 @@ int main(int argc, char *argv[]) } /* * Since we will use low security ciphersuites and keys for testing set - * security level to zero. + * security level to zero by default. Tests can override this by adding + * "@SECLEVEL=n" to the cipher string. */ SSL_CTX_set_security_level(c_ctx, 0); SSL_CTX_set_security_level(s_ctx, 0); |