Commit 6e954bd9 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

wintrust/tests: Fix a typo in ok() messages.

parent 2454bbd5
......@@ -1233,21 +1233,21 @@ static void test_sip(void)
ok(ret, "CryptSIPRetrieveSubjectGuid failed (%x)\n", GetLastError());
ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test");
ok(!ret, "CryptSIPPutSignedDataMsg succeedded\n");
ok(!ret, "CryptSIPPutSignedDataMsg succeeded\n");
index = GetLastError();
ok(index == ERROR_PATH_NOT_FOUND, "GetLastError returned %x\n", index);
info.hFile = file;
info.pwsFileName = nameW;
ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test");
ok(!ret, "CryptSIPPutSignedDataMsg succeedded\n");
ok(!ret, "CryptSIPPutSignedDataMsg succeeded\n");
index = GetLastError();
todo_wine ok(index == ERROR_INVALID_PARAMETER, "GetLastError returned %x\n", index);
info.hFile = INVALID_HANDLE_VALUE;
info.pwsFileName = nameW;
ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test");
ok(!ret, "CryptSIPPutSignedDataMsg succeedded\n");
ok(!ret, "CryptSIPPutSignedDataMsg succeeded\n");
index = GetLastError();
ok(index == ERROR_SHARING_VIOLATION, "GetLastError returned %x\n", index);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment