ruby-openssl-msg.patch

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

Download (579 Bytes)

View differences:

ext/openssl/lib/openssl/ssl-internal.rb (working copy)
118 118

  
119 119
      def post_connection_check(hostname)
120 120
        unless OpenSSL::SSL.verify_certificate_identity(peer_cert, hostname)
121
          raise SSLError, "hostname was not match with the server certificate"
121
          raise SSLError, "hostname does not match the server certificate"
122 122
        end
123 123
        return true
124 124
      end