test_ssl_old: avoid empty strings for flags

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5396)
This commit is contained in:
Richard Levitte 2018-02-16 23:34:32 +01:00 committed by Matt Caswell
parent 5845f7de81
commit 62930b2ecf

View 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");
}
}