diff options
author | nahi <nahi@ruby-lang.org> | 2010-09-06 01:53:00 +0000 |
---|---|---|
committer | nahi <nahi@ruby-lang.org> | 2010-09-06 01:53:00 +0000 |
commit | 549b2ed7c34667afae9374683371e3b9265d708d (patch) | |
tree | e0d665ba096d9099d69dff9e13f3f459d2f24bfa /lib | |
parent | 9715544766bc3490583b21d298bc23dec222c2b1 (diff) | |
download | ruby-openssl-history-549b2ed7c34667afae9374683371e3b9265d708d.tar.gz |
* Fixed exception message for SSL post connection check failure. Patch
by Paul Betteridge. ref [Bug #3704]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/openssl/ssl-internal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/openssl/ssl-internal.rb b/lib/openssl/ssl-internal.rb index 04a9faa..c70b5b8 100644 --- a/lib/openssl/ssl-internal.rb +++ b/lib/openssl/ssl-internal.rb @@ -118,7 +118,7 @@ module OpenSSL 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 |