Explorar el Código

Fix on cipher and curve handling

new-scoring
aeris hace 2 años
padre
commit
0d123c7380
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. +1
    -0
      lib/cryptcheck/tls/cipher.rb
  2. +1
    -0
      lib/cryptcheck/tls/curve.rb

+ 1
- 0
lib/cryptcheck/tls/cipher.rb Ver fichero

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

@@ -4,6 +4,7 @@ module CryptCheck
attr_reader :name

def initialize(name)
name = name.to_sym if name.is_a? String
@name = name
end



Cargando…
Cancelar
Guardar