summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/ssl.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-02-18 05:41:45 +0000
committerSteve Kemp <steve@steve.org.uk>2015-02-18 05:41:45 +0000
commit09a3905e93f0a0720c3e33ed539295582de61fcc (patch)
treec2fceaf37d7b5777ba5687cb22bf111e77b64f17 /lib/custodian/protocoltest/ssl.rb
parent1fd332a69d222293581b25fb2fa892ddbccd305c (diff)
Show NOP messages.
Diffstat (limited to 'lib/custodian/protocoltest/ssl.rb')
-rw-r--r--lib/custodian/protocoltest/ssl.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/custodian/protocoltest/ssl.rb b/lib/custodian/protocoltest/ssl.rb
index 704edac..56e9c3f 100644
--- a/lib/custodian/protocoltest/ssl.rb
+++ b/lib/custodian/protocoltest/ssl.rb
@@ -64,12 +64,15 @@ module Custodian
# If outside 10AM-5PM we don't alert.
#
if ( hour < 10 || hour > 17 )
+ puts( "Outside office hours - Not running SSL-Verification of #{@host}" )
return true
end
+
#
# NOP - validate here.
#
+ puts( "NOP - Not running SSL-Verification of #{@host}" )
return true
end