crypt32/tests: Actually test the return value of CryptGetKeyParam.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e64cd493d2
commit
c3d6211aef
|
@ -8435,7 +8435,7 @@ static void testImportPublicKey(HCRYPTPROV csp, PCERT_PUBLIC_KEY_INFO info)
|
|||
ok(ret, "CryptImportPublicKeyInfoEx failed: %08x\n", GetLastError());
|
||||
|
||||
dwSize = sizeof(ai);
|
||||
CryptGetKeyParam(key, KP_ALGID, (LPVOID)&ai, &dwSize, 0);
|
||||
ret = CryptGetKeyParam(key, KP_ALGID, (LPVOID)&ai, &dwSize, 0);
|
||||
ok(ret, "CryptGetKeyParam failed: %08x\n", GetLastError());
|
||||
if(ret)
|
||||
{
|
||||
|
@ -8451,7 +8451,7 @@ static void testImportPublicKey(HCRYPTPROV csp, PCERT_PUBLIC_KEY_INFO info)
|
|||
ok(ret, "CryptImportPublicKeyInfoEx failed: %08x\n", GetLastError());
|
||||
|
||||
dwSize = sizeof(ai);
|
||||
CryptGetKeyParam(key, KP_ALGID, (LPVOID)&ai, &dwSize, 0);
|
||||
ret = CryptGetKeyParam(key, KP_ALGID, (LPVOID)&ai, &dwSize, 0);
|
||||
ok(ret, "CryptGetKeyParam failed: %08x\n", GetLastError());
|
||||
if(ret)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue