rasenh/tests: Fix a test failure.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
49a71fcc77
commit
39f96c1fa9
|
@ -2388,8 +2388,11 @@ static void test_rsa_encrypt(void)
|
||||||
|
|
||||||
/* It is not allowed to use the signature key for encryption/decryption */
|
/* It is not allowed to use the signature key for encryption/decryption */
|
||||||
result = CryptGetUserKey(hProv, AT_SIGNATURE, &hRSAKey);
|
result = CryptGetUserKey(hProv, AT_SIGNATURE, &hRSAKey);
|
||||||
ok (result, "%08x\n", GetLastError());
|
if (!result)
|
||||||
if (!result) return;
|
{
|
||||||
|
skip("No signature key in provider %s found, error %#x.\n", szProviders[iProv], GetLastError());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
dwVal = 0xdeadbeef;
|
dwVal = 0xdeadbeef;
|
||||||
dwLen = sizeof(DWORD);
|
dwLen = sizeof(DWORD);
|
||||||
|
|
Loading…
Reference in New Issue