mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 07:53:49 +00:00
[CRYPT32]
- Merge the "Root" and the "AuthRoot" certificate stores This, with the now almost faaous gnutls DLLs, allows mshtml:events test to not hang svn path=/trunk/; revision=64026
This commit is contained in:
parent
3596925092
commit
a3991f48f7
|
@ -800,6 +800,18 @@ static HCERTSTORE create_root_store(void)
|
||||||
read_trusted_roots_from_known_locations(memStore);
|
read_trusted_roots_from_known_locations(memStore);
|
||||||
add_ms_root_certs(memStore);
|
add_ms_root_certs(memStore);
|
||||||
root = CRYPT_ProvCreateStore(0, memStore, &provInfo);
|
root = CRYPT_ProvCreateStore(0, memStore, &provInfo);
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
{
|
||||||
|
HCERTSTORE regStore = CertOpenStore(CERT_STORE_PROV_SYSTEM_W, 0, 0, CERT_SYSTEM_STORE_LOCAL_MACHINE, L"AuthRoot");
|
||||||
|
if (regStore)
|
||||||
|
{
|
||||||
|
HCERTSTORE collStore = CertOpenStore(CERT_STORE_PROV_COLLECTION, 0, 0,
|
||||||
|
CERT_STORE_CREATE_NEW_FLAG, NULL);
|
||||||
|
CertAddStoreToCollection(collStore, regStore, 0, 0);
|
||||||
|
root = collStore;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
TRACE("returning %p\n", root);
|
TRACE("returning %p\n", root);
|
||||||
return root;
|
return root;
|
||||||
|
|
Loading…
Reference in a new issue