Show More
@@ -96,13 +96,13 b' except AttributeError:' | |||||
96 | # in this legacy code since we don't support SNI. |
|
96 | # in this legacy code since we don't support SNI. | |
97 |
|
97 | |||
98 | args = { |
|
98 | args = { | |
99 | 'keyfile': self._keyfile, |
|
99 | r'keyfile': self._keyfile, | |
100 | 'certfile': self._certfile, |
|
100 | r'certfile': self._certfile, | |
101 | 'server_side': server_side, |
|
101 | r'server_side': server_side, | |
102 | 'cert_reqs': self.verify_mode, |
|
102 | r'cert_reqs': self.verify_mode, | |
103 | 'ssl_version': self.protocol, |
|
103 | r'ssl_version': self.protocol, | |
104 | 'ca_certs': self._cacerts, |
|
104 | r'ca_certs': self._cacerts, | |
105 | 'ciphers': self._ciphers, |
|
105 | r'ciphers': self._ciphers, | |
106 | } |
|
106 | } | |
107 |
|
107 | |||
108 | return ssl.wrap_socket(socket, **args) |
|
108 | return ssl.wrap_socket(socket, **args) |
General Comments 0
You need to be logged in to leave comments.
Login now