mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/webrick/https.rb: change an option name.
:SSLCertStore -> :SSLCertificateStore. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ce3fb6ceea
commit
086830cbac
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Aug 2 20:59:38 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
* lib/webrick/https.rb: change an option name.
|
||||
:SSLCertStore -> :SSLCertificateStore.
|
||||
|
||||
Sat Aug 2 19:18:40 2003 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* lib/net/smtp.rb: respond_to? needs 2nd argument.
|
||||
|
|
|
@ -20,7 +20,7 @@ module WEBrick
|
|||
:SSLClientCA => nil,
|
||||
:SSLCACertificateFile => nil,
|
||||
:SSLCACertificatePath => nil,
|
||||
:SSLCertStore => nil,
|
||||
:SSLCertificateStore => nil,
|
||||
:SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE,
|
||||
:SSLVerifyDepth => nil,
|
||||
:SSLVerifyCallback => nil, # custom verification
|
||||
|
@ -147,7 +147,7 @@ module WEBrick
|
|||
ctx.client_ca = config[:SSLClientCA]
|
||||
ctx.ca_file = config[:SSLCACertificateFile]
|
||||
ctx.ca_path = config[:SSLCACertificatePath]
|
||||
ctx.cert_store = config[:SSLCertStore]
|
||||
ctx.cert_store = config[:SSLCertificateStore]
|
||||
ctx.verify_mode = config[:SSLVerifyClient]
|
||||
ctx.verify_depth = config[:SSLVerifyDepth]
|
||||
ctx.verify_callback = config[:SSLVerifyCallback]
|
||||
|
|
Loading…
Reference in a new issue