mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
59f551635a
commit
8233db65b6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Sep 6 10:46:55 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* ext/readline/readline.c (readline_s_get_line_buffer):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue