ruby-changes:17189
From: nahi <ko1@a...>
Date: Mon, 6 Sep 2010 10:53:09 +0900 (JST)
Subject: [ruby-changes:17189] Ruby:r29189 (trunk): * Fixed exception message for SSL post connection check failure. Patch
nahi 2010-09-06 10:53:00 +0900 (Mon, 06 Sep 2010) New Revision: 29189 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29189 Log: * Fixed exception message for SSL post connection check failure. Patch by Paul Betteridge. ref [Bug #3704] Modified files: trunk/ChangeLog trunk/ext/openssl/lib/openssl/ssl-internal.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 29188) +++ ChangeLog (revision 29189) @@ -1,3 +1,8 @@ +Mon Sep 6 10:46:55 2010 NAKAMURA, Hiroshi <nahi@r...> + + * Fixed exception message for SSL post connection check failure. Patch + by Paul Betteridge. ref [Bug #3704] + Mon Sep 6 10:31:59 2010 NARUSE, Yui <naruse@r...> * ext/readline/readline.c (readline_s_get_line_buffer): Index: ext/openssl/lib/openssl/ssl-internal.rb =================================================================== --- ext/openssl/lib/openssl/ssl-internal.rb (revision 29188) +++ ext/openssl/lib/openssl/ssl-internal.rb (revision 29189) @@ -118,7 +118,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/