Skip to content
Snippets Groups Projects
Commit e5a42cc4 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Copy CA certificate when compiling for win32

ssl version of msys2 does not use the default certificate of Windows but only
the certificates bundled in OPENSSLDIR.

issue6771
review38721002
(grafted from 627fa54c5e6b)
parent b103bb4f
No related merge requests found
......@@ -23,6 +23,10 @@
etc, 'gtk-2.0', 'gdk-pixbuf.loaders')
os.environ['GTK_IM_MODULE_FILE'] = os.path.join(
etc, 'gtk-2.0', 'gtk.immodules')
os.environ.setdefault('SSL_CERT_FILE',
os.path.join(etc, 'ssl', 'cert.pem'))
os.environ.setdefault('SSL_CERT_DIR',
os.path.join(etc, 'ssl', 'certs'))
# Disable dbusmenu to show second menu in tabs
......
......@@ -20,6 +20,7 @@
include_files.extend([
(os.path.join(sys.prefix, 'share/themes/MS-Windows'),
'share/themes/MS-Windows'),
(os.path.join(sys.prefix, 'ssl'), 'etc/ssl'),
])
dll_paths = os.getenv('PATH', os.defpath).split(os.pathsep)
required_dlls = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment