Browse Source

Fix error in render in case of no TLS

v1
Aeris 6 years ago
parent
commit
73d17620b0
  1. 1
      app/workers/check_worker.rb

1
app/workers/check_worker.rb

@ -10,6 +10,7 @@ class CheckWorker
host = SimpleIDN.to_ascii host.downcase
result = begin
grade = self.analyze *(port ? [host, port] : [host])
raise CryptCheck::Tls::Server::TLSNotAvailableException if grade.is_a? CryptCheck::Tls::TlsNotSupportedGrade
server = grade.server
result = {
key: key_to_json(server.key),

Loading…
Cancel
Save