提交 e8763c69 编写于 作者: R Richard Levitte

Fix 80-test_ssl_old.t: only count the ciphers if there are any.

Reviewed-by: NMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3014)
上级 a2bb1836
......@@ -434,8 +434,8 @@ sub testssl {
if ($ciphersstatus) {
$ciphersuites{$protocol} = [ map { s|\R||; split(/:/, $_) }
@ciphers ];
$protocolciphersuitecount += scalar @{$ciphersuites{$protocol}};
}
$protocolciphersuitecount += scalar @{$ciphersuites{$protocol}};
}
plan skip_all => "None of the ciphersuites to test are available in this OpenSSL build"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册