method
post_connection_check
v1_9_3_125 -
Show latest stable
-
0 notes -
Class: SSLSocket
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (38)
- 2_2_9 (0)
- 2_4_6 (-4)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
post_connection_check(hostname)
public
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