Fix 80-test_ssl_old.t: only count the ciphers if there are any.
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3014)
This commit is contained in:
parent
a2bb183623
commit
e8763c6974
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue