Flowdock
method

post_connection_check

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: SSLSocket
post_connection_check(hostname) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/openssl/lib/openssl/ssl-internal.rb, line 119
      def post_connection_check(hostname)
        unless OpenSSL::SSL.verify_certificate_identity(peer_cert, hostname)
          raise SSLError, "hostname does not match the server certificate"
        end
        return true
      end
Register or log in to add new notes.