Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
-
0c7293b8
by lovetox at 2020-03-19T18:53:56+01:00
1 changed file:
Changes:
| ... | ... | @@ -167,7 +167,6 @@ class TCPConnection(Connection): |
| 167 | 167 |
|
| 168 | 168 |
if self._address.type == ConnectionType.DIRECT_TLS:
|
| 169 | 169 |
tls_client.set_advertised_protocols(['xmpp-client'])
|
| 170 |
- tls_client.set_rehandshake_mode(Gio.TlsRehandshakeMode.NEVER)
|
|
| 171 | 170 |
tls_client.set_validation_flags(Gio.TlsCertificateFlags.VALIDATE_ALL)
|
| 172 | 171 |
tls_client.connect('accept-certificate', self._check_certificate)
|
| 173 | 172 |
tls_client.connect('notify::peer-certificate', self._on_certificate_set)
|