File gajim-do_not_ship_certificate.patch.in of Package gajim

--- 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
openSUSE Build Service is sponsored by