Fix typo for SSL certificate use.
This commit is contained in:
parent
b81ab97900
commit
6997b2fbf8
@ -323,7 +323,7 @@ class XMLStream(object):
|
|||||||
|
|
||||||
ssl_socket = ssl.wrap_socket(self.socket,
|
ssl_socket = ssl.wrap_socket(self.socket,
|
||||||
ca_certs=self.ca_certs,
|
ca_certs=self.ca_certs,
|
||||||
certs_reqs=cert_policy)
|
cert_reqs=cert_policy)
|
||||||
|
|
||||||
if hasattr(self.socket, 'socket'):
|
if hasattr(self.socket, 'socket'):
|
||||||
# We are using a testing socket, so preserve the top
|
# We are using a testing socket, so preserve the top
|
||||||
|
Loading…
Reference in New Issue
Block a user