Commit Graph

158 Commits

Author SHA1 Message Date
Daniel Lehman 95a80d3585 wintrust: Set last error in WinVerifyTrust.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 08:47:25 +01:00
Sven Baars 55a5818106 wintrust/tests: Initialize cbStruct in the ObjectTrust tests.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-11 20:01:40 +01:00
Michael Stefaniuc 70996f49e3 wintrust: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 22:23:41 +02:00
Mark Jansen 93ed3356d8 wintrust: Verify image hash in WinVerifyTrust.
Includes various improvements by Sebastian Lackner.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Sebastian Lackner 0e84010766 wintrust/tests: Add some additional tests.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 23:09:09 +01:00
Mark Jansen eaf68e99ba wintrust/tests: Add tests for WinVerifyTrust.
Includes various improvements by Sebastian Lackner <sebastian@fds-team.de>.

Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 23:08:59 +01:00
Michael Stefaniuc 6ff4365fb3 wintrust/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 09:11:20 +02:00
Alex Henrie 110db9fe1d wintrust/tests: Initialize structure passed to WintrustLoadFunctionPointers.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 18:44:20 +01:00
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
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
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
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
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 a27a1214a2 wintrust/tests: Fix failing test on win8. 2014-05-06 19:21:58 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy bf1a43e620 wintrust/tests: Constify some character strings. 2014-01-02 11:52:39 +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
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
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
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
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 4d6caaebbd wintrust/tests: Make sure return values are used (LLVM/Clang). 2011-02-04 15:25:33 +01:00
Austin English 855c5e848d wintrust/tests: Make sure return values are used (LLVM/Clang). 2011-02-04 15:25:33 +01:00
Austin English 0fed8b0fe2 wintrust/tests: Make sure return values are used (LLVM/Clang). 2011-02-04 15:25:33 +01:00
Detlef Riekenberg 179e26b3f1 wintrust/tests: Run the test again on W98. 2010-11-05 17:15:36 +01:00
Juan Lang 604e39dde5 crypt32: Add parameter checking to CryptSIPCreateIndirectData. 2010-09-24 18:20:27 +02:00
Juan Lang ea715da1c6 wintrust/tests: Test CryptSIPCreateIndirectData. 2010-09-24 18:20:25 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Juan Lang 0b7711e545 wintrust/tests: Fix test failures when not running as administrator. 2010-05-18 08:49:52 +02:00
Gerald Pfeifer 7cdcdf781e wintrust/tests: Remove variable myARGC which is not really used from test_cdf_parsing. 2010-05-03 15:39:56 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00