* 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:
gotoyuzo 2003-08-02 12:01:48 +00:00
parent ce3fb6ceea
commit 086830cbac
2 changed files with 7 additions and 2 deletions

View File

@ -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> Sat Aug 2 19:18:40 2003 Minero Aoki <aamine@loveruby.net>
* lib/net/smtp.rb: respond_to? needs 2nd argument. * lib/net/smtp.rb: respond_to? needs 2nd argument.

View File

@ -20,7 +20,7 @@ module WEBrick
:SSLClientCA => nil, :SSLClientCA => nil,
:SSLCACertificateFile => nil, :SSLCACertificateFile => nil,
:SSLCACertificatePath => nil, :SSLCACertificatePath => nil,
:SSLCertStore => nil, :SSLCertificateStore => nil,
:SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE, :SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE,
:SSLVerifyDepth => nil, :SSLVerifyDepth => nil,
:SSLVerifyCallback => nil, # custom verification :SSLVerifyCallback => nil, # custom verification
@ -147,7 +147,7 @@ module WEBrick
ctx.client_ca = config[:SSLClientCA] ctx.client_ca = config[:SSLClientCA]
ctx.ca_file = config[:SSLCACertificateFile] ctx.ca_file = config[:SSLCACertificateFile]
ctx.ca_path = config[:SSLCACertificatePath] ctx.ca_path = config[:SSLCACertificatePath]
ctx.cert_store = config[:SSLCertStore] ctx.cert_store = config[:SSLCertificateStore]
ctx.verify_mode = config[:SSLVerifyClient] ctx.verify_mode = config[:SSLVerifyClient]
ctx.verify_depth = config[:SSLVerifyDepth] ctx.verify_depth = config[:SSLVerifyDepth]
ctx.verify_callback = config[:SSLVerifyCallback] ctx.verify_callback = config[:SSLVerifyCallback]