Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
d65100e1 by lovetox at 2022-05-24T23:23:24+02:00
imprv: Remove unnecessary validation flags override

VALIDATE_ALL is the default according to the docs

- - - - -


1 changed file:

- nbxmpp/tcp.py


Changes:

=====================================
nbxmpp/tcp.py
=====================================
@@ -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)
 



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/d65100e1bc1be21ca5c66886fadebec08c96354f

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/d65100e1bc1be21ca5c66886fadebec08c96354f
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to