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
This commit is contained in:
@@ -23,6 +23,10 @@ if hasattr(sys, 'frozen'):
|
||||
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 @@ if sys.platform == 'win32':
|
||||
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 = [
|
||||
|
||||
Reference in New Issue
Block a user