diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-07 12:34:20 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-07 12:34:20 +0000 |
commit | 813d4b5dd792342a479995d0295f4feef1b4e32a (patch) | |
tree | a05cb5ede8dbd06a500499fcf41790673159b24b | |
parent | d0f6f9fb7a2045426756795366233f64fd9c6332 (diff) |
* sample/webrick/httpsd.rb: fix typo in comment. suggested by
Kazuhiko Shiozaki.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sample/webrick/httpsd.rb | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -4,6 +4,9 @@ Mon Mar 7 21:29:40 2005 GOTOU Yuuzou <[email protected]> restore @token if accept failure. suggested by Dominique Brezinski. [ruby-core:04518] + * sample/webrick/httpsd.rb: fix typo in comment. suggested by + Kazuhiko Shiozaki. + Mon Mar 7 21:01:37 2005 Nobuyoshi Nakada <[email protected]> * eval.c (rb_require_safe): get actual path string under safe level diff --git a/sample/webrick/httpsd.rb b/sample/webrick/httpsd.rb index 9d82ef36cf..a120782c3c 100644 --- a/sample/webrick/httpsd.rb +++ b/sample/webrick/httpsd.rb @@ -11,8 +11,8 @@ httpd = WEBrick::HTTPServer.new( :SSLEnable => true, # Specify key pair and server certificate. - # :SSLPrivateKey => OpenSSL::PKey::RSA.new("server.key"), - # :SSLCertificate => OpenSSL::X509::Certificate.new("server.crt"), + # :SSLPrivateKey => OpenSSL::PKey::RSA.new(File.read("server.key")), + # :SSLCertificate => OpenSSL::X509::Certificate.new(File.read("server.crt")), # specify the following SSL options if you want to use auto # generated self-signed certificate. |