2020-11-30 08:33:03 +00:00
|
|
|
diff --git a/dlls/crypt32/unixlib.c b/dlls/crypt32/unixlib.c
|
2022-01-25 03:21:06 +00:00
|
|
|
index 7cb521eb98b..5804b88be84 100644
|
2020-11-30 08:33:03 +00:00
|
|
|
--- a/dlls/crypt32/unixlib.c
|
|
|
|
+++ b/dlls/crypt32/unixlib.c
|
2022-01-25 03:21:06 +00:00
|
|
|
@@ -654,6 +654,10 @@ static void load_root_certs(void)
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
for (i = 0; i < ARRAY_SIZE(CRYPT_knownLocations) && list_empty(&root_cert_list); i++)
|
|
|
|
import_certs_from_path( CRYPT_knownLocations[i], TRUE );
|
2020-04-24 23:36:52 +00:00
|
|
|
+
|
2020-11-30 08:33:03 +00: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-25 03:21:06 +00:00
|
|
|
static NTSTATUS enum_root_certs( void *args )
|