Zhiyi Zhang : rasenh/tests: Fix a test failure.
Alexandre Julliard
julliard at winehq.org
Wed Jan 22 14:52:58 CST 2020
Module: wine
Branch: master
Commit: 39f96c1fa9e8d3ae356ed475091b218e3e0da35d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=39f96c1fa9e8d3ae356ed475091b218e3e0da35d
Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date: Mon Jan 20 11:43:37 2020 +0800
rasenh/tests: Fix a test failure.
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/rsaenh/tests/rsaenh.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/rsaenh/tests/rsaenh.c b/dlls/rsaenh/tests/rsaenh.c
index 3e782be279..3039971474 100644
--- a/dlls/rsaenh/tests/rsaenh.c
+++ b/dlls/rsaenh/tests/rsaenh.c
@@ -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);
More information about the wine-cvs
mailing list