Commit Graph

41 Commits

Author SHA1 Message Date
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
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
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
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
Bruno Jesus dbdb244d13 wintrust/tests: Fix a memory leak (valgrind). 2014-06-11 16:10:23 +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
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
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
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 855c5e848d 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
Juan Lang ba9ccc51e2 wintrust: Fix memory leaks in tests. 2009-12-04 14:34:56 +01:00
Juan Lang 2768710c36 wintrust: Fix a test failure on Win2008. 2009-11-05 11:57:36 +01:00
Juan Lang cd084ff1f9 wintrust: Test the pgKnownSubject field of WINTRUST_FILE_INFO. 2009-10-23 11:59:22 +02:00
Juan Lang ae2c086e6c wintrust: Fix a few failing tests. 2009-02-16 11:48:10 +01:00
Paul Vriens b7787ec0c8 wintrust/tests: Vista/W2K8 have some extra struct members. 2008-10-09 13:01:50 +02:00
Juan Lang 8c90767c3d wintrust: Implement WTHelperGetKnownUsages. 2008-10-01 09:56:22 -05:00
Juan Lang c4c409e91c wintrust: Add tests for WTHelperGetKnownUsages. 2008-10-01 09:55:20 -05:00
Francois Gouget 32974e25a2 wintrust/tests: Fix compilation on systems that don't support nameless unions. 2008-07-21 12:57:42 +02:00
Juan Lang b871679922 wintrust: Execute WinVerifyTrust as a sequence of steps, and return the error code from the first failing step of the sequence. 2008-07-16 17:53:18 +02:00
Juan Lang a3e601ecf0 wintrust: Add tests for WinVerifyTrust/WinVerifyTrustEx. 2008-07-16 17:53:07 +02:00
Juan Lang 1da4a29050 wintrust: Move provider function tests to their own function. 2008-07-16 17:52:45 +02:00
Paul Vriens b3db514cd5 wintrust/tests: Fix test on win9x. 2008-06-05 12:31:00 +02:00
Francois Gouget 2eeb4eaf1d wintrust: Fix compilation on systems that don't support nameless unions. 2007-09-12 11:33:10 +02:00
Juan Lang b157166345 wintrust: Implement pfnCertificateTrust. 2007-08-29 12:00:33 +02:00
Juan Lang 4f2fae1d99 wintrust: Test and implement pfnAddCert2Chain. 2007-08-29 12:00:05 +02:00
Juan Lang 8c34271aaa wintrust: Test and implement pfnAddSgnr2Chain. 2007-08-29 11:59:58 +02:00
Juan Lang 150ddd6bd4 wintrust: Test and implement pfnAddStore2Chain. 2007-08-29 11:59:47 +02:00
Juan Lang 5a3fb3b566 wintrust: Test and implement SoftpubLoadMessage. 2007-08-28 11:57:20 +02:00
Juan Lang 7850caa714 wintrust: Test and implement SoftpubInitialize. 2007-08-27 19:34:20 +02:00