Cipher size is the weakest supported, not the strongest (+optimization)
parent
4237a25ab9
commit
f9a93cd83b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue