mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 04:57:28 +00:00
crypt32: Switch to use the AES provider by default.
This commit is contained in:
parent
a729e10a18
commit
ffba84b161
|
@ -64,8 +64,8 @@ HCRYPTPROV CRYPT_GetDefaultProvider(void)
|
||||||
{
|
{
|
||||||
HCRYPTPROV prov;
|
HCRYPTPROV prov;
|
||||||
|
|
||||||
if (!CryptAcquireContextW(&prov, NULL, MS_ENHANCED_PROV_W, PROV_RSA_FULL,
|
if (!CryptAcquireContextW(&prov, NULL, MS_ENH_RSA_AES_PROV_W,
|
||||||
CRYPT_VERIFYCONTEXT))
|
PROV_RSA_AES, CRYPT_VERIFYCONTEXT))
|
||||||
return hDefProv;
|
return hDefProv;
|
||||||
InterlockedCompareExchangePointer((PVOID *)&hDefProv, (PVOID)prov,
|
InterlockedCompareExchangePointer((PVOID *)&hDefProv, (PVOID)prov,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
Loading…
Reference in a new issue