diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/telnets.rb | 2 |
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'] |