summaryrefslogtreecommitdiffstats
path: root/test/recipes
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-03-22 11:06:20 +0100
committerRichard Levitte <levitte@openssl.org>2017-03-22 11:12:48 +0100
commite8763c69745575e37988527e4025c3cd36081492 (patch)
tree4052673a5eff05120a16a74e2be7b4bc52a11fec /test/recipes
parenta2bb183623dac253792753b82e291fd1d180aa78 (diff)
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)
Diffstat (limited to 'test/recipes')
-rw-r--r--test/recipes/80-test_ssl_old.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recipes/80-test_ssl_old.t b/test/recipes/80-test_ssl_old.t
index 8b6f538eeb..501009384a 100644
--- a/test/recipes/80-test_ssl_old.t
+++ b/test/recipes/80-test_ssl_old.t
@@ -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"