Browse Source

Fix on cipher and curve handling

new-scoring
aeris 2 years ago
parent
commit
0d123c7380
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      lib/cryptcheck/tls/cipher.rb
  2. 1
    0
      lib/cryptcheck/tls/curve.rb

+ 1
- 0
lib/cryptcheck/tls/cipher.rb View File

@@ -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
- 0
lib/cryptcheck/tls/curve.rb View File

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