Fix 80-test_ssl_old.t: only count the ciphers if there are any.
@@ -434,9 +434,9 @@ sub testssl {
if ($ciphersstatus) {
$ciphersuites{$protocol} = [ map { s|\R||; split(/:/, $_) }
@ciphers ];
- }
$protocolciphersuitecount += scalar @{$ciphersuites{$protocol}};
}
+ }
plan skip_all => "None of the ciphersuites to test are available in this OpenSSL build"
if $protocolciphersuitecount + scalar(keys %ciphersuites) == 0;
