Project

General

Profile

Bug #3704 ยป ruby-openssl-msg.patch

proposed patch against trunk - pbetteridge (Paul Betteridge), 08/18/2010 01:10 AM

View differences:

ext/openssl/lib/openssl/ssl-internal.rb (working copy)
def post_connection_check(hostname)
unless OpenSSL::SSL.verify_certificate_identity(peer_cert, hostname)
raise SSLError, "hostname was not match with the server certificate"
raise SSLError, "hostname does not match the server certificate"
end
return true
end
    (1-1/1)