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 */
|
||||
result = CryptGetUserKey(hProv, AT_SIGNATURE, &hRSAKey);
|
||||
ok (result, "%08x\n", GetLastError());
|
||||
if (!result) return;
|
||||
if (!result)
|
||||
{
|
||||
skip("No signature key in provider %s found, error %#x.\n", szProviders[iProv], GetLastError());
|
||||
return;
|
||||
}
|
||||
|
||||
dwVal = 0xdeadbeef;
|
||||
dwLen = sizeof(DWORD);
|
||||
|
|
Loading…
Reference in New Issue