From 813d4b5dd792342a479995d0295f4feef1b4e32a Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Mon, 7 Mar 2005 12:34:20 +0000 Subject: * 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 --- ChangeLog | 3 +++ sample/webrick/httpsd.rb | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d388bcda84..bcd50104ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ Mon Mar 7 21:29:40 2005 GOTOU Yuuzou 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 * 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. -- cgit v1.2.3