summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@ruby-lang.org>2004-12-20 05:46:45 +0000
committergotoyuzo <gotoyuzo@ruby-lang.org>2004-12-20 05:46:45 +0000
commit553ee7fae825b4303a001e4dcaad5f5b255365be (patch)
treec9d9ac80dae9839fa0a49d45467427295806b392 /lib
parent2b90daad9be85f6653ecc4baa88d46281438d5f3 (diff)
downloadruby-openssl-history-553ee7fae825b4303a001e4dcaad5f5b255365be.tar.gz
* lib/net/https.rb: delete descriptions about key_file and cert_file.
fixed: [ruby-dev:25243] * ext/openssl/lib/net/telnets.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/net/telnets.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/net/telnets.rb b/lib/net/telnets.rb
index c7ecbd7..a872f41 100644
--- a/lib/net/telnets.rb
+++ b/lib/net/telnets.rb
@@ -124,9 +124,7 @@ module Net
elsif SB[0] == $1[0] # respond to "IAC SB xxx IAC SE"
if OPT_STARTTLS[0] == $1[1] && TLS_FOLLOWS[0] == $2[0]
@sock = OpenSSL::SSL::SSLSocket.new(@sock)
- @sock.cert_file = @options['CertFile']
@sock.cert = @options['Cert'] unless @sock.cert
- @sock.key_file = @options['KeyFile']
@sock.key = @options['Key'] unless @sock.key
@sock.ca_cert = @options['CACert']
@sock.ca_file = @options['CAFile']