Cipher size is the weakest supported, not the strongest (+optimization)

v1
Aeris 2015-11-21 21:23:43 +01:00
parent 4237a25ab9
commit f9a93cd83b
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ module CryptCheck
end
def cipher_size
supported_ciphers.collect { |c| c.size }.sort.last
supported_ciphers.collect { |c| c.size }.min
end
def supported_protocols