gajim/gajim-do_not_ship_certificate.patch.in

12 lines
568 B
Diff

--- a/gajim/data/plugins/plugin_installer/plugin_installer.py
+++ b/gajim/data/plugins/plugin_installer/plugin_installer.py
@@ -467,7 +467,7 @@ class DownloadAsync(threading.Thread):
ssl_args = {}
if self.secure:
ssl_args['context'] = ssl.create_default_context(
- cafile=self.plugin.local_file_path('DST_Root_CA_X3.pem'))
+ cafile='@TRUSTDIR_STATIC@/DST_Root_CA_X3.pem')
else:
ssl_args['context'] = ssl.create_default_context()
ssl_args['context'].check_hostname = False