mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[RSAENH_WINETEST] Sync with Wine Staging 3.3. CORE-14434
This commit is contained in:
parent
0623a6f810
commit
6d286a66c3
1 changed files with 9 additions and 0 deletions
|
@ -224,6 +224,15 @@ static BOOL init_aes_environment(void)
|
|||
result = CryptGenKey(hProv, AT_SIGNATURE, 0, &hKey);
|
||||
ok(result, "%08x\n", GetLastError());
|
||||
if (result) CryptDestroyKey(hKey);
|
||||
|
||||
/* CALG_AES is not supported, but CALG_AES_128 is */
|
||||
result = CryptGenKey(hProv, CALG_AES, 0, &hKey);
|
||||
ok(!result && GetLastError() == NTE_BAD_ALGID, "%d %08x\n", result, GetLastError());
|
||||
result = CryptGenKey(hProv, CALG_AES, 128 << 16, &hKey);
|
||||
ok(!result && GetLastError() == NTE_BAD_ALGID, "%d %08x\n", result, GetLastError());
|
||||
result = CryptGenKey(hProv, CALG_AES_128, 0, &hKey);
|
||||
ok(result, "%08x\n", GetLastError());
|
||||
if (result) CryptDestroyKey(hKey);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue