Commit d65100e1 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

imprv: Remove unnecessary validation flags override

VALIDATE_ALL is the default according to the docs
parent 51768bc0
Pipeline #9988 passed with stages
in 55 seconds
......@@ -173,7 +173,6 @@ class TCPConnection(Connection):
if self._address.type == ConnectionType.DIRECT_TLS:
tls_client.set_advertised_protocols(['xmpp-client'])
tls_client.set_validation_flags(Gio.TlsCertificateFlags.VALIDATE_ALL)
tls_client.connect('accept-certificate', self._check_certificate)
tls_client.connect('notify::peer-certificate', self._on_certificate_set)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment