summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-04 15:34:21 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-04 15:34:21 +0000
commitfecb5d1e53a5b9e960d2b42edf65112c24cd6835 (patch)
tree326874972218d73d755ae95b556b73a00d11018e /lib/custodian/protocoltest
parentdc56b1ae204d2556c80a3b1d2cbc50e57d6dc017 (diff)
New release - reporting SSL errors correctly.
Diffstat (limited to 'lib/custodian/protocoltest')
-rw-r--r--lib/custodian/protocoltest/ssl.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/custodian/protocoltest/ssl.rb b/lib/custodian/protocoltest/ssl.rb
index 4d4ee2f..a604f80 100644
--- a/lib/custodian/protocoltest/ssl.rb
+++ b/lib/custodian/protocoltest/ssl.rb
@@ -19,7 +19,7 @@ class SSLCheck
# This is a helper for console-debugging.
def verbose( msg )
- # nop
+ return(msg)
end
#
@@ -415,8 +415,8 @@ module Custodian
puts( "SSL Verification returned no result (timeout?) #{@host}" )
return true
else
- puts( "SSL certificate check for #{@host} has failed." )
- @error = "SSL certificate check for #{@host} failed: ";
+ puts( "SSL Verification for #{@host} has failed." )
+ @error = "SSL Verification for #{@host} failed: ";
@error += s.errors.join("\n")
return false
end