diff options
author | Richard Levitte <levitte@openssl.org> | 2017-03-22 11:06:20 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-03-22 11:12:48 +0100 |
commit | e8763c69745575e37988527e4025c3cd36081492 (patch) | |
tree | 4052673a5eff05120a16a74e2be7b4bc52a11fec /test/recipes | |
parent | a2bb183623dac253792753b82e291fd1d180aa78 (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.t | 2 |
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" |