summaryrefslogtreecommitdiff
path: root/ext/openssl/lib/net/telnets.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/lib/net/telnets.rb')
-rw-r--r--ext/openssl/lib/net/telnets.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/openssl/lib/net/telnets.rb b/ext/openssl/lib/net/telnets.rb
index c7ecbd717a..a872f41e6a 100644
--- a/ext/openssl/lib/net/telnets.rb
+++ b/ext/openssl/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']