2020-11-23 17:01:00 +01:00
|
|
|
diff --git a/dlls/crypt32/unixlib.c b/dlls/crypt32/unixlib.c
|
2022-01-18 23:10:20 +01:00
|
|
|
index 7cb521eb98b..5804b88be84 100644
|
2020-11-23 17:01:00 +01:00
|
|
|
--- a/dlls/crypt32/unixlib.c
|
|
|
|
+++ b/dlls/crypt32/unixlib.c
|
2022-01-18 23:10:20 +01:00
|
|
|
@@ -654,6 +654,10 @@ static void load_root_certs(void)
|
2020-01-24 12:21:11 +01:00
|
|
|
|
2020-11-23 17:01:00 +01:00
|
|
|
for (i = 0; i < ARRAY_SIZE(CRYPT_knownLocations) && list_empty(&root_cert_list); i++)
|
|
|
|
import_certs_from_path( CRYPT_knownLocations[i], TRUE );
|
2020-01-24 12:21:11 +01:00
|
|
|
+
|
2020-11-23 17:01:00 +01:00
|
|
|
+ char *nix_cert_file = getenv("NIX_SSL_CERT_FILE");
|
|
|
|
+ if (nix_cert_file != NULL)
|
|
|
|
+ import_certs_from_path(nix_cert_file, TRUE);
|
|
|
|
}
|
|
|
|
|
2022-01-18 23:10:20 +01:00
|
|
|
static NTSTATUS enum_root_certs( void *args )
|