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 11:16:29 +0000 (11:16 +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)

(cherry picked from commit 62930b2ecf6ce308fd2ae9ee3e34ace8ba698aac)

test/recipes/80-test_ssl_old.t

index 97ef82189a54cc7eac8adf079578f519fcf5a037..bafb796cd9ffcdec45b16b81af14c679a992a5b7 100644 (file)
@@ -476,7 +476,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");
                }
            }