[PATCH 2/3] crypt32: Prevent gnutls from using system priority file.
Paul Gofman
pgofman at codeweavers.com
Wed Nov 11 08:09:30 CST 2020
Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
dlls/crypt32/unixlib.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/crypt32/unixlib.c b/dlls/crypt32/unixlib.c
index 47be5691005..48559fc21f7 100644
--- a/dlls/crypt32/unixlib.c
+++ b/dlls/crypt32/unixlib.c
@@ -88,6 +88,7 @@ BOOL gnutls_initialize(void)
{
int ret;
+ setenv("GNUTLS_SYSTEM_PRIORITY_FILE", "/dev/null", 0);
if (!(libgnutls_handle = dlopen( SONAME_LIBGNUTLS, RTLD_NOW )))
{
ERR_(winediag)( "failed to load libgnutls, no support for pfx import/export\n" );
--
2.28.0
More information about the wine-devel
mailing list