Commit Graph

391 Commits

Author SHA1 Message Date
Hans Leidekker bdc309b949 wintrust/tests: Disable a test that crashes on 64-bit Windows 10.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:43 +01:00
Huw Davies 7770937a57 wintrust/tests: Zero-init error array to prevent failures on 64-bit.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-20 17:39:44 +01:00
Hans Leidekker 14444fab92 wintrust/tests: Fix test failures on Windows 8.1 and 10.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 14:11:30 +01:00
Huw Davies efd063f5c5 wintrust/tests: Initialize the pSigState member to prevent Windows 8 and 10 from crashing.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-28 14:16:54 +01:00
Huw Davies 098aa2be84 wintrust/tests: Remove a test that crashes on Windows 8 amd 10.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-28 14:16:53 +01:00
Carlo Bramini e141d4a1c6 wintrust: Use return value of sprintf() instead of calling strlen().
Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:09 -06:00
Jacek Caban fb518192bb wintrust: Don't close key if RegOpenKeyExW failed.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:19:47 -07:00
Sebastian Lackner f9e5c96e5e wintrust/tests: Fix test for pfnAddSgnr2Chain.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 11:26:38 +09:00
Andrey Gusev 6e954bd979 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>
2016-05-02 12:26:49 +09:00
Francois Gouget 17d1126d03 wintrust: Fix spelling of a variable name.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:11 +09:00
Nikolay Sivov 9b9dd19297 wintrust/tests: Use proper return types when calling provider funcs (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:29 +09:00
Sebastian Lackner e5e05b971b wintrust: Create a dummy context to force creation of MachineGuid registry key. 2015-07-31 12:08:45 +02:00
Michael Stefaniuc 971cf70014 wintrust/tests: Remove an unused assignment (PVS-Studio). 2015-01-23 15:33:06 +01:00
André Hentschel dc4d32953f wintrust: Remove unused variable (Clang). 2014-12-04 14:03:19 +01:00
Sebastian Lackner 4b7ec82663 wintrust: Reset data->pWintrustData->u.pFile->hFile after closing handle. 2014-12-02 15:03:17 +01:00
Frédéric Delanoy 2ab8729020 Assorted spelling/grammar fixes. 2014-06-20 12:19:31 +02:00
Bruno Jesus dbdb244d13 wintrust/tests: Fix a memory leak (valgrind). 2014-06-11 16:10:23 +02:00
Huw Davies f4f01301f0 crypt32: Add a new element to SIP_ADD_NEWPROVIDER. 2014-06-11 13:03:46 +02:00
Alexandre Julliard 6eb922f1d4 wintrust: Remove unnecessary DllMain implementation. 2014-05-15 19:04:49 +02:00
Huw Davies a27a1214a2 wintrust/tests: Fix failing test on win8. 2014-05-06 19:21:58 +02:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy bf1a43e620 wintrust/tests: Constify some character strings. 2014-01-02 11:52:39 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Detlef Riekenberg 48ae4314d0 wintrust/tests: Accept the CryptCATAdminAcquireContext win8 results. 2013-11-19 19:06:10 +01:00
Michael Stefaniuc 640dd17acf wintrust/tests: Compile with -D__WINESRC__. 2013-10-18 11:31:46 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Marcus Meissner a090b46f72 wintrust: Fixed some memory leaks (Coverity). 2013-09-30 20:34:50 +02:00
Hans Leidekker e1b4334f89 wintrust/tests: Replace the self-signed certificate with one that expires in ten years. 2013-06-21 16:23:34 +02:00
André Hentschel aa80d16768 wintrust/tests: Unify test message in case of a FALSE return. 2012-12-06 20:31:31 +01:00
Francois Gouget 709a0b764d Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode. 2012-09-24 22:27:28 +02:00
Michael Stefaniuc a04900df68 wintrust: Avoid a TRUE:FALSE conditional expression. 2012-08-15 12:12:59 +02:00
Detlef Riekenberg fbc735bef7 wintrust/tests: Handle ERROR_ACCESS_DENIED failures. 2012-08-14 11:58:14 +02:00
Thomas Faber e68d5b93ff wintrust/tests: Fix build with MSVC. 2012-06-22 14:09:45 +02:00
Juan Lang ba78b54820 wintrust: Don't dereference a potentially NULL pointer. 2011-12-12 10:21:10 +01:00
Juan Lang 398b62ba32 wintrust: Add FindCertsByIssuer stub. 2011-10-24 11:17:31 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Juan Lang c0a8694bbc wintrust: Correct ObjectTrust error with empty files. 2011-09-15 15:41:40 +02:00
Nicolas Le Cam 2573c84423 wintrust/tests: BaseOfData isn't part of IMAGE_OPTIONAL_HEADER64 structure. 2011-05-06 14:23:46 +02:00
Piotr Caban 1ece5b3ab6 wintrust: Added CryptSIP{Get,Put}SignedDataMsg tests. 2011-05-03 19:34:29 +02:00
Piotr Caban 3a945c3987 wintrust: Fix CryptSIPGetSignedMsg (from PE file). 2011-05-03 19:34:29 +02:00
Piotr Caban 3a6196b79e wintrust: Added CryptSIPPutSignedDataMsg implementation (for PE files). 2011-05-03 19:34:29 +02:00
Marcus Meissner 4b04574275 wintrust: Mark internal symbols as hidden. 2011-04-29 14:21:41 +02:00
Juan Lang 3effba7805 wintrust: Implement IsCatalogFile. 2011-04-18 12:08:11 +02:00
Austin English d23b088818 wintrust/tests: Remove win9x hacks. 2011-02-18 14:54:51 +01:00
Juan Lang 7c42297bf3 wintrust/tests: Fix a leak (valgrind). 2011-02-17 17:26:00 +01:00
Juan Lang 4325d75d5d wintrust/tests: Fix a leak (valgrind). 2011-02-10 10:28:02 -06:00
Austin English 1f10a78cb0 wintrust: Remove a dead assignment (LLVM/Clang). 2011-02-04 15:25:33 +01:00
Austin English 4d6caaebbd wintrust/tests: Make sure return values are used (LLVM/Clang). 2011-02-04 15:25:33 +01:00