Browse Source

Fix on cipher and curve handling

new-scoring
aeris 5 years ago
parent
commit
0d123c7380
  1. 1
      lib/cryptcheck/tls/cipher.rb
  2. 1
      lib/cryptcheck/tls/curve.rb

1
lib/cryptcheck/tls/cipher.rb

@ -41,6 +41,7 @@ module CryptCheck
attr_reader :method, :name
def initialize(method, name)
name = name.first if name.is_a? Array
@method, @name = method, name
end

1
lib/cryptcheck/tls/curve.rb

@ -4,6 +4,7 @@ module CryptCheck
attr_reader :name
def initialize(name)
name = name.to_sym if name.is_a? String
@name = name
end

Loading…
Cancel
Save