Author: akhaldi
Date: Thu Nov 17 23:26:31 2016
New Revision: 73307
URL:
http://svn.reactos.org/svn/reactos?rev=73307&view=rev
Log:
[WINTRUST_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
Modified:
trunk/rostests/winetests/wintrust/softpub.c
Modified: trunk/rostests/winetests/wintrust/softpub.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/wintrust/softpu…
==============================================================================
--- trunk/rostests/winetests/wintrust/softpub.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/wintrust/softpub.c [iso-8859-1] Thu Nov 17 23:26:31 2016
@@ -177,16 +177,15 @@
ok(data.csSigners == 2, "Expected 2 signers, got %d\n",
data.csSigners);
ok(!memcmp(&data.pasSigners[1], &sgnr, sizeof(sgnr)),
"Unexpected data in signer\n");
- /* This also adds, but the data aren't copied */
+ /* This also adds, but the index is ignored */
sgnr.cbStruct = sizeof(DWORD);
ret = funcs->pfnAddSgnr2Chain(&data, FALSE, 0, &sgnr);
ok(ret, "pfnAddSgnr2Chain failed: %08x\n", GetLastError());
ok(data.csSigners == 3, "Expected 3 signers, got %d\n",
data.csSigners);
- ok(data.pasSigners[0].cbStruct == 0, "Unexpected data size %d\n",
- data.pasSigners[0].cbStruct);
- ok(data.pasSigners[0].sftVerifyAsOf.dwLowDateTime == 0,
- "Unexpected verify time %d\n",
- data.pasSigners[0].sftVerifyAsOf.dwLowDateTime);
+ sgnr.sftVerifyAsOf.dwLowDateTime = 0;
+ todo_wine
+ ok(!memcmp(&data.pasSigners[2], &sgnr, sizeof(sgnr)),
+ "Unexpected data in signer\n");
/* But too large a thing isn't added */
sgnr.cbStruct = sizeof(sgnr) + sizeof(DWORD);
SetLastError(0xdeadbeef);