From e8763c69745575e37988527e4025c3cd36081492 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 22 Mar 2017 11:06:20 +0100 Subject: [PATCH] Fix 80-test_ssl_old.t: only count the ciphers if there are any. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/3014) --- test/recipes/80-test_ssl_old.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.25.1