ssl-version not passed to wrap_socket, fixed
This commit is contained in:
parent
27582f6fd2
commit
460de7d301
1 changed files with 4 additions and 2 deletions
|
@ -523,7 +523,8 @@ class XMLStream(object):
|
|||
'keyfile': self.keyfile,
|
||||
'ca_certs': self.ca_certs,
|
||||
'cert_reqs': cert_policy,
|
||||
'do_handshake_on_connect': False
|
||||
'do_handshake_on_connect': False,
|
||||
"ssl_version": self.ssl_version
|
||||
})
|
||||
|
||||
if sys.version_info >= (2, 7):
|
||||
|
@ -847,7 +848,8 @@ class XMLStream(object):
|
|||
'keyfile': self.keyfile,
|
||||
'ca_certs': self.ca_certs,
|
||||
'cert_reqs': cert_policy,
|
||||
'do_handshake_on_connect': False
|
||||
'do_handshake_on_connect': False,
|
||||
"ssl_version": self.ssl_version
|
||||
})
|
||||
|
||||
if sys.version_info >= (2, 7):
|
||||
|
|
Loading…
Reference in a new issue