summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/ssl.rb
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
commit9258b057a192ef2e4a76da44a9d9d34397ee04d6 (patch)
tree2694c8351c344efab18bb1d78d362d9261efb293 /lib/custodian/protocoltest/ssl.rb
parentadd87e26f2254d2babcbed5529354cb18de25f7f (diff)
New release - reporting SSL errors correctly.
Diffstat (limited to 'lib/custodian/protocoltest/ssl.rb')
-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