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

v1
Aeris 8 years ago
parent 4237a25ab9
commit f9a93cd83b
  1. 2
      lib/cryptcheck/tls/server.rb

@ -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…
Cancel
Save