Make the ssl version log usable
This commit is contained in:
parent
00152358de
commit
b8b2f37e7b
1 changed files with 2 additions and 1 deletions
|
@ -819,7 +819,8 @@ class XMLStream(object):
|
|||
to be restarted.
|
||||
"""
|
||||
log.info("Negotiating TLS")
|
||||
log.info("Using SSL version: %s", str(self.ssl_version))
|
||||
ssl_versions = {3: 'TLS 1.0', 1: 'SSL 3', 2: 'SSL 2/3'}
|
||||
log.info("Using SSL version: %s", ssl_versions[self.ssl_version])
|
||||
if self.ca_certs is None:
|
||||
cert_policy = ssl.CERT_NONE
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue