mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[WINTRUST_WINETEST] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71732
This commit is contained in:
parent
98ed140b4f
commit
2eca3a3c3e
1 changed files with 4 additions and 3 deletions
|
@ -23,6 +23,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include "windows.h"
|
||||
#include "wincrypt.h"
|
||||
#include "mscat.h"
|
||||
|
||||
#include "wine/test.h"
|
||||
|
@ -1232,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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue