]> git.pld-linux.org Git - packages/python-pyxmpp2.git/blob - tls.patch
Rel 7; some python 3.9+ fixes; use newer TLS version; workaround newer setuptools...
[packages/python-pyxmpp2.git] / tls.patch
1 --- pyxmpp2-2.0.1/pyxmpp2/streamtls.py~ 2017-11-27 21:15:25.000000000 +0100
2 +++ pyxmpp2-2.0.1/pyxmpp2/streamtls.py  2022-05-26 10:25:42.639970868 +0200
3 @@ -178,7 +178,7 @@ class StreamTLSHandler(StreamFeatureHand
4                      certfile = self.settings["tls_cert_file"],
5                      server_side = not self.stream.initiator,
6                      cert_reqs = cert_reqs,
7 -                    ssl_version = ssl.PROTOCOL_TLSv1,
8 +                    ssl_version = ssl.PROTOCOL_TLS,
9                      ca_certs = self.settings["tls_cacert_file"],
10                      do_handshake_on_connect = False,
11                      )
This page took 0.090674 seconds and 3 git commands to generate.