Browse Source

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

master
Aeris 4 years ago
parent
commit
f9a93cd83b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/cryptcheck/tls/server.rb

+ 1
- 1
lib/cryptcheck/tls/server.rb 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

Loading…
Cancel
Save