mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 17:01:53 +00:00
[RSAENH_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69917
This commit is contained in:
parent
c0a5568f90
commit
47644ac122
1 changed files with 3 additions and 4 deletions
|
@ -1166,8 +1166,8 @@ static void test_aes(int keylen)
|
|||
|
||||
/* Does AES provider support salt? */
|
||||
result = CryptGetKeyParam(hKey, KP_SALT, NULL, &dwLen, 0);
|
||||
ok((!result && GetLastError() == NTE_BAD_KEY) || result /* Win7 */,
|
||||
"expected NTE_BAD_KEY, got %08x\n", GetLastError());
|
||||
todo_wine ok(result || broken(GetLastError() == NTE_BAD_KEY), /* Vista or older */
|
||||
"Expected OK, got last error %d\n", GetLastError());
|
||||
if (result)
|
||||
ok(!dwLen, "unexpected salt length %d\n", dwLen);
|
||||
|
||||
|
@ -1971,8 +1971,7 @@ static void test_import_private(void)
|
|||
* actual buffer. The private exponent can be omitted, its length is
|
||||
* inferred from the passed-in length parameter.
|
||||
*/
|
||||
dwLen = sizeof(BLOBHEADER) + sizeof(RSAPUBKEY) +
|
||||
rsaPubKey->bitlen / 8 + 5 * rsaPubKey->bitlen / 16;
|
||||
dwLen = sizeof(BLOBHEADER) + sizeof(RSAPUBKEY) + rsaPubKey->bitlen / 2;
|
||||
for (; dwLen < sizeof(abPlainPrivateKey); dwLen++)
|
||||
{
|
||||
result = CryptImportKey(hProv, abPlainPrivateKey, dwLen, 0, 0, &hKeyExchangeKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue