lib/ronin/network/ssl.rb in ronin-support-0.1.0 vs lib/ronin/network/ssl.rb in ronin-support-0.2.0.rc1
- old
+ new
@@ -32,9 +32,11 @@
# The name of the verify mode.
#
# @return [Integer]
# The verify mode number used by OpenSSL.
#
+ # @api private
+ #
def SSL.verify(mode=nil)
verify_mode = 'VERIFY_' + (mode || :none).to_s.upcase
unless OpenSSL::SSL.const_defined?(verify_mode)
raise(RuntimeError,"unknown verify mode #{mode}")