зеркало из https://github.com/github/ruby.git
* 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:
Родитель
ce3fb6ceea
Коммит
086830cbac
|
@ -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]
|
||||
|
|
Загрузка…
Ссылка в новой задаче