Commit e8763c69 authored by Richard Levitte's avatar Richard Levitte
Browse files

Fix 80-test_ssl_old.t: only count the ciphers if there are any.

parent a2bb1836
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;