@@ -23,7 +23,7 @@ module CryptCheck | |||
attr_reader :protocol, :name, :size, :dh | |||
def initialize(protocol, cipher, dh) | |||
def initialize(protocol, cipher, dh=nil) | |||
@protocol, @dh = protocol, dh | |||
@name, _, @size = cipher | |||
end |
@@ -259,6 +259,7 @@ module CryptCheck | |||
Logger.info { "#{Tls.colorize method} / #{cipher.colorize} : Supported#{dh}" } | |||
cipher | |||
rescue TLSException => e | |||
cipher = Cipher.new method, cipher | |||
Logger.debug { "#{Tls.colorize method} / #{cipher.colorize} : Not supported (#{e})" } | |||
nil | |||
end |