Files
MINGW-packages/mingw-w64-glib-openssl/fix-cert-path.patch
Christoph Reiter 16ba47d44d glib-openssl: New package (#3487)
Allows glib to use openssl for TLS instead of gnutls
2018-03-13 10:32:52 +03:00

12 lines
537 B
Diff

--- glib-openssl-2.50.8/tls/openssl/gtlsbackend-openssl.c.orig 2018-02-26 11:03:32.000000000 +0100
+++ glib-openssl-2.50.8/tls/openssl/gtlsbackend-openssl.c 2018-03-13 07:58:22.822305900 +0100
@@ -191,7 +191,7 @@
gchar *cert_path;
module_dir = g_win32_get_package_installation_directory_of_module (NULL);
- cert_path = g_build_filename (module_dir, "bin", "cert.pem", NULL);
+ cert_path = g_build_filename (module_dir, "ssl", "cert.pem", NULL);
g_free (module_dir);
if (g_file_test (cert_path, G_FILE_TEST_IS_REGULAR))