]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Skip the SRP tests in 80-test_ssl_old.t if no TLS versions is enabled
authorRichard Levitte <levitte@openssl.org>
Mon, 15 Aug 2016 13:58:16 +0000 (15:58 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 15 Aug 2016 15:16:47 +0000 (17:16 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
test/recipes/80-test_ssl_old.t

index 22bb2264701b8df0e9593840077ac07587101cf2..9347c9605b8de66395ed4c47b37601c80453f0fd 100644 (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');