lib/scanner/ssl_labs.rb in yawast-0.4.0.beta4 vs lib/scanner/ssl_labs.rb in yawast-0.4.0.beta5

- old
+ new

@@ -3,10 +3,11 @@ require 'openssl' require 'digest/sha1' module Yawast module Scanner + # noinspection RubyResolve class SslLabs def self.info(uri, tdes_session_count) puts 'Beginning SSL Labs scan (this could take a minute or two)' api = Ssllabs::Api.new @@ -257,10 +258,9 @@ # in this case, the effective strength is only 112 bits, # which is what we want to report. So override SSL Labs strength = 112 end - suite_info = nil if ke != nil suite_info = "#{suite.name.ljust(50)} - #{strength}-bits - #{ke}" else suite_info = "#{suite.name.ljust(50)} - #{strength}-bits" end