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 543ca96..f89779c 100644 (file)
@@ -450,7 +450,8 @@ sub testssl {
                     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");
                 }
             }