Skip the SRP tests in 80-test_ssl_old.t if no TLS versions is enabled

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Richard Levitte 2016-08-15 15:58:16 +02:00
parent 0a699a0723
commit a0ef6bb687

View file

@ -564,7 +564,7 @@ sub testssl {
SKIP: {
skip "skipping SRP tests", 4
if $no_srp;
if $no_srp || alldisabled(grep !/^ssl3/, available_protocols("tls"));
ok(run(test([@ssltest, "-tls1", "-cipher", "SRP", "-srpuser", "test", "-srppass", "abc123"])),
'test tls1 with SRP');