summaryrefslogtreecommitdiff
path: root/sample/openssl/echo_svr.rb
diff options
context:
space:
mode:
-rw-r--r--sample/openssl/echo_svr.rb2
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ ca_path = options["C"]
if cert_file && key_file
cert = OpenSSL::X509::Certificate.new(File::read(cert_file))
- key = OpenSSL::PKey::RSA.new(File::read(key_file))
else
key = OpenSSL::PKey::RSA.new(512){ print "." }
puts