Fix implicit ssl connection typo
This commit is contained in:
parent
b39da7e356
commit
270922b460
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class Connection(object):
|
|||
self.sock.do_handshake()
|
||||
self.crypt = "tls-rsa"
|
||||
self.sock_wrapped = True
|
||||
elif should_encrypt and "tsl-rsa" in CryptConnection.manager.crypt_supported:
|
||||
elif should_encrypt and "tls-rsa" in CryptConnection.manager.crypt_supported:
|
||||
try:
|
||||
self.sock = CryptConnection.manager.wrapSocket(self.sock, "tls-rsa")
|
||||
self.sock.do_handshake()
|
||||
|
|
Loading…
Reference in a new issue