test_ssl_old: avoid empty strings for flags
authorRichard Levitte <levitte@openssl.org>
Fri, 16 Feb 2018 22:34:32 +0000 (23:34 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 19 Feb 2018 10:47:37 +0000 (10:47 +0000)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5396)

test/recipes/80-test_ssl_old.t

index 543ca961350b28e1ad53c09660b88f3cab5df87b..f89779c0c35fb3be893932a5c679a4f92fdf8b48 100644 (file)
@@ -450,7 +450,8 @@ sub testssl {
                     note "*****SKIPPING $protocol $cipher";
                     ok(1);
                 } else {
                     note "*****SKIPPING $protocol $cipher";
                     ok(1);
                 } else {
-                    ok(run(test([@ssltest, @exkeys, "-cipher", $cipher, $flag])),
+                    ok(run(test([@ssltest, @exkeys, "-cipher", $cipher,
+                                 $flag || ()])),
                     "Testing $cipher");
                 }
             }
                     "Testing $cipher");
                 }
             }