summaryrefslogtreecommitdiffstats
path: root/sample/webrick/httpsd.rb
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-07 12:34:20 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-07 12:34:20 +0000
commit7db256b9fb9dc6e5c634eeff63714f5537a7c5ec (patch)
treea05cb5ede8dbd06a500499fcf41790673159b24b /sample/webrick/httpsd.rb
parent7c721f7d651ae8b72d750d362e6b2031a4ec73f4 (diff)
downloadruby-7db256b9fb9dc6e5c634eeff63714f5537a7c5ec.tar.gz
ruby-7db256b9fb9dc6e5c634eeff63714f5537a7c5ec.tar.xz
ruby-7db256b9fb9dc6e5c634eeff63714f5537a7c5ec.zip
* sample/webrick/httpsd.rb: fix typo in comment. suggested by
Kazuhiko Shiozaki. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/webrick/httpsd.rb')
-rw-r--r--sample/webrick/httpsd.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/webrick/httpsd.rb b/sample/webrick/httpsd.rb
index 9d82ef36c..a120782c3 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.