diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-02 12:01:48 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-02 12:01:48 +0000 |
commit | 086830cbac0972291297fa4a094919ebeace8659 (patch) | |
tree | 0934a05858bc6b528cf26748201d9c4ad400492e | |
parent | ce3fb6ceea1f3e0ee2d7fea4bae3369bf43b860e (diff) |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/webrick/https.rb | 4 |
2 files changed, 7 insertions, 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. diff --git a/lib/webrick/https.rb b/lib/webrick/https.rb index 00fd469f1b..2038540ecc 100644 --- a/lib/webrick/https.rb +++ b/lib/webrick/https.rb @@ -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] |