Pārlūkot izejas kodu

Fix debug output

master
Aeris pirms 4 gadiem
vecāks
revīzija
92424828e1
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 1
    1
      lib/cryptcheck/tls/cipher.rb
  2. 1
    0
      lib/cryptcheck/tls/server.rb

+ 1
- 1
lib/cryptcheck/tls/cipher.rb Parādīt failu

@@ -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

+ 1
- 0
lib/cryptcheck/tls/server.rb Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt