mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +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
|
@ -23,6 +23,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
|
#include "wincrypt.h"
|
||||||
#include "mscat.h"
|
#include "mscat.h"
|
||||||
|
|
||||||
#include "wine/test.h"
|
#include "wine/test.h"
|
||||||
|
@ -1232,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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue