diff options
-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] |