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

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2016-05-01 11:28:25 +03:00 committed by Alexandre Julliard
parent 2454bbd5e4
commit 6e954bd979
1 changed files with 3 additions and 3 deletions

View File

@ -1233,21 +1233,21 @@ static void test_sip(void)
ok(ret, "CryptSIPRetrieveSubjectGuid failed (%x)\n", GetLastError()); ok(ret, "CryptSIPRetrieveSubjectGuid failed (%x)\n", GetLastError());
ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test"); ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test");
ok(!ret, "CryptSIPPutSignedDataMsg succeedded\n"); ok(!ret, "CryptSIPPutSignedDataMsg succeeded\n");
index = GetLastError(); index = GetLastError();
ok(index == ERROR_PATH_NOT_FOUND, "GetLastError returned %x\n", index); ok(index == ERROR_PATH_NOT_FOUND, "GetLastError returned %x\n", index);
info.hFile = file; info.hFile = file;
info.pwsFileName = nameW; info.pwsFileName = nameW;
ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test"); ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test");
ok(!ret, "CryptSIPPutSignedDataMsg succeedded\n"); ok(!ret, "CryptSIPPutSignedDataMsg succeeded\n");
index = GetLastError(); index = GetLastError();
todo_wine ok(index == ERROR_INVALID_PARAMETER, "GetLastError returned %x\n", index); todo_wine ok(index == ERROR_INVALID_PARAMETER, "GetLastError returned %x\n", index);
info.hFile = INVALID_HANDLE_VALUE; info.hFile = INVALID_HANDLE_VALUE;
info.pwsFileName = nameW; info.pwsFileName = nameW;
ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test"); ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test");
ok(!ret, "CryptSIPPutSignedDataMsg succeedded\n"); ok(!ret, "CryptSIPPutSignedDataMsg succeeded\n");
index = GetLastError(); index = GetLastError();
ok(index == ERROR_SHARING_VIOLATION, "GetLastError returned %x\n", index); ok(index == ERROR_SHARING_VIOLATION, "GetLastError returned %x\n", index);