Commit Graph

158 Commits

Author SHA1 Message Date
James Hawkins b2d1c3eeec wintrust: Fix a memory leak until our implementation is fixed. 2010-01-07 17:59:58 +01: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
Francois Gouget 6cfce78c7d wintrust/tests: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:49:25 +02:00
Juan Lang 598e0a8fcf wintrust: Implement WVTAsn1SpcSpOpusInfoDecode. 2009-08-07 11:39:35 +02:00
Hans Leidekker 44db8883f8 wintrust/tests: Initialize a variable. 2009-07-03 13:06:17 +02:00
Paul Vriens 1862826a87 wintrust/tests: Add a basic CryptCATOpen test. 2009-05-19 15:24:56 +02:00
Detlef Riekenberg 24340287fd wintrust/tests: Do not test GetLastError on success. 2009-04-09 11:19:09 +02:00
Detlef Riekenberg 49ff2be04e wintrust/tests: Fix some tests on win9x. 2009-04-09 11:18:58 +02:00
Francois Gouget 2017cf27f3 wintrust/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-25 12:50:04 +01:00
Michael Stefaniuc 03f04e15fe wintrust/tests: Fix typos in ok() strings. 2009-02-17 12:51:44 +01:00
Juan Lang ae2c086e6c wintrust: Fix a few failing tests. 2009-02-16 11:48:10 +01:00
Juan Lang 6407fb7036 wintrust: Fix typo. 2009-02-13 12:59:09 +01:00
Juan Lang 74ac0d30bd wintrust: Fix a couple tests on a variety of systems. 2009-02-12 13:00:46 +01:00
Juan Lang 22ea6bd611 wintrust: Remove a couple tests that fail on a variety of systems. 2009-02-12 13:00:42 +01:00
Juan Lang 9e07f0de08 wintrust: Don't fail if a registry value doesn't exist. 2009-02-12 13:00:37 +01:00
Francois Gouget f250f4fa04 Assorted spelling fixes. 2009-02-11 15:56:02 +01:00
Juan Lang 2d0e586425 wintrust: Use GetSystemDirectory rather than GetWindowsDirectory to find the CatRoot directories. 2009-02-04 12:24:57 +01:00
Paul Vriens e6676ff50e wintrust/tests: Fix a test failure on W2K. 2009-01-22 12:03:51 +01:00
Paul Vriens d18249dda6 wintrust/tests: Check file attributes set by CryptCATAdminAddCatalog. 2009-01-21 10:24:15 +01:00
Paul Vriens d4cf5a55c6 wintrust/tests: Add some cdf parsing tests. 2009-01-21 10:23:52 +01:00
Alexandre Julliard e098f427b4 wintrust/tests: Clean up temp files after test. 2009-01-19 15:45:33 +01:00
Paul Vriens 2c9a41a4e4 wintrust/tests: Add some tests that creates catalog files. 2009-01-19 14:20:29 +01:00
Paul Vriens db8cce3fcb wintrust/tests: Make the catalog properties test a bit more flexible. 2009-01-19 14:20:07 +01:00
Paul Vriens 39361deadc wintrust/tests: Add a few parameter tests. 2009-01-19 14:19:56 +01:00
Paul Vriens 669aa20c91 wintrust/tests: Add a test for enumerating catalog attributes. 2009-01-19 14:18:30 +01:00
Michael Stefaniuc 898d795fdd wintrust/tests: Remove superfluous pointer casts. 2009-01-13 15:26:04 +01:00
Paul Vriens 00ed4057b5 wintrust: Fix removing a catalog file. 2009-01-08 14:52:31 +01:00
Paul Vriens 5bfed84410 wintrust/tests: Add a few tests. 2009-01-08 14:52:26 +01:00
Hans Leidekker 053b2295a5 wintrust: Add some tests. 2008-12-23 18:52:28 +01:00
Francois Gouget c36c161ce6 wintrust/tests: Add a trailing '\n' to ok() calls. 2008-12-19 17:45:25 +01:00
Paul Vriens 936bec69cf wintrust/tests: Don't crash on NT4 and W2K. 2008-12-19 17:16:31 +01:00
Paul Vriens ff833ee255 wintrust/tests: Fix test crash on Win9x. 2008-12-19 17:16:26 +01:00
Hans Leidekker 50d76df1ea wintrust: Implement CryptCATAdminCalcHashFromFileHandle.
Based on work done by Maarten Lankhorst.
2008-12-19 17:16:12 +01:00
Hans Leidekker b8bb31dc34 wintrust: Add tests for adding and removing catalog files. 2008-12-18 14:52:40 +01:00
Hans Leidekker a99ef3570f wintrust: Implement CryptCATAdminReleaseContext.
Based on work done by Maarten Lankhorst.
2008-12-18 13:16:13 +01:00
Hans Leidekker 1d9ce08ce2 wintrust: Implement CryptCATAdminAcquireContext.
Based on work done by Maarten Lankhorst.
2008-12-18 13:16:07 +01:00
Hans Leidekker 976341a45e wintrust: Don't test last error on success. 2008-12-18 13:15:54 +01:00
Hans Leidekker 0b0621c8cb wintrust: Open test file with share mode FILE_SHARE_READ. 2008-12-18 13:15:44 +01:00
Juan Lang 8610a0b537 wintrust: Add tests for WVTAsn1SpcSpOpusInfoDecode. 2008-12-10 10:49:44 +01:00
Juan Lang 9e7c5626b3 wintrust: Implement WVTAsn1SpcSpOpusInfoEncode. 2008-12-10 10:49:38 +01:00
Juan Lang 796bb0734a wintrust: Add tests for WVTAsn1SpcSpOpusInfoEncode. 2008-12-10 10:49:30 +01:00
Juan Lang cbccab6252 wintrust: Implement WVTAsn1SpcFinancialCriteriaInfoDecode. 2008-11-04 11:19:21 +01:00
Juan Lang 4c88340f72 wintrust: Add tests for WVTAsn1SpcFinancialCriteriaInfoDecode. 2008-11-04 11:19:15 +01:00
Juan Lang bbecd6913c wintrust: Implement WVTAsn1SpcFinancialCriteriaInfoEncode. 2008-11-04 11:19:05 +01:00
Juan Lang 5c0d8a3a12 wintrust: Add tests for WVTAsn1SpcFinancialCriteriaInfoEncode. 2008-11-04 11:19:00 +01:00
Juan Lang 36d01401dc wintrust: Implement WVTAsn1CatNameValueDecode. 2008-10-18 20:13:10 +02:00
Juan Lang e009cd9039 wintrust: Add tests for WVTAsn1CatNameValueDecode. 2008-10-18 20:13:04 +02:00
Juan Lang 74b91cb25f wintrust: Implement WVTAsn1CatNameValueEncode. 2008-10-18 20:12:53 +02:00
Juan Lang 1f6a67d881 wintrust: Add tests for WVTAsn1CatNameValueEncode. 2008-10-18 20:12:46 +02:00
Juan Lang c80b99a2f4 wintrust: Implement WVTAsn1CatMemberInfoDecode. 2008-10-18 19:31:34 +02:00
Juan Lang 6b13b35640 wintrust: Add tests for WVTAsn1CatMemberInfoDecode. 2008-10-18 19:31:28 +02:00
Juan Lang d3d7dfa7ff wintrust: Implement WVTAsn1CatMemberInfoEncode. 2008-10-18 19:31:10 +02:00
Juan Lang 52751981ad wintrust: Add tests for WVTAsn1CatMemberInfoEncode. 2008-10-18 19:30:57 +02:00
Juan Lang 04a65b3cb8 wintrust: Fix test failures on Win9x. 2008-10-09 14:19:54 +02: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
Paul Vriens 6d6881a791 wintrust/tests: Add a missing FreeLibrary. 2008-09-05 16:26:33 +02: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
Roy Shea 363516d7c3 wintrust/test: Verify array length before calling memcmp in test. 2008-07-08 10:47:57 +02:00
Paul Vriens b3db514cd5 wintrust/tests: Fix test on win9x. 2008-06-05 12:31:00 +02:00
Austin English 6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Francois Gouget dd50ac4e15 wintrust/tests: Crypt(En,De)codeObjectEx() are not available on Win9x. So load them dynamically and skip some tests. 2008-03-03 12:04:04 +01:00
Paul Vriens 4844672781 wintrust/tests: Add a few tests. 2008-02-28 20:00:45 +01:00
Paul Vriens 84039b26fe wintrust/tests: W2K and XP-SP1 don't set last error. 2008-02-28 20:00:41 +01:00
Paul Vriens ea4489cfb0 wintrust/crypt: Fix some test failures for a NULL parameter. 2008-02-11 20:41:40 +01:00
Paul Vriens 9be7a60d08 wintrust/tests: Change test_RegPolicyFlags to use the same logic as the rest of the tests. 2008-02-11 20:41:40 +01:00
Paul Vriens c16830db8c wintrust/tests: Use GetModuleHandleA instead of LoadLibraryA. 2008-02-11 20:41:40 +01:00
Paul Vriens 533b15d6ea wintrust/tests: Use GetModuleHandleA instead of LoadLibraryA. 2008-02-06 14:20:52 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01: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
Juan Lang e8cc4db1c7 wintrust: Test and correct alloc and free functions in WintrustLoadFunctionPointers. 2007-08-27 11:59:42 +02:00
Juan Lang 5d965df220 wintrust: Implement SPC PE image encoding. 2007-08-14 13:28:54 +02:00
Juan Lang 998bea1043 wintrust: Implement SPC PE image decoding. 2007-08-14 13:28:36 +02:00
Juan Lang 6a9d049b74 wintrust: Add tests for encoding and decoding SPC PE image data. 2007-08-13 11:35:15 +02:00
Juan Lang 06b51457e1 wintrust: Implement encoding SPC links. 2007-08-13 11:35:08 +02:00
Juan Lang 29cae46fce wintrust: Implement decoding SPC links. 2007-08-13 11:34:53 +02:00
Juan Lang 44047e02c2 wintrust: Add tests for encoding/decoding SPC links. 2007-08-13 11:34:29 +02:00
Paul Vriens 361280b22b wintrust/tests: Add tests for CryptCATAdminCalcHashFromFileHandle. 2007-06-25 13:23:36 +02:00
Alexandre Julliard 0e3e2875a5 wintrust/tests: Fix the WintrustGetRegPolicyFlags to work right the first time. 2007-06-13 12:05:55 +02:00
Francois Gouget e04fe246ca wintrust/tests: Fix checks to be more informative when they fail. 2007-06-13 12:00:52 +02:00
Francois Gouget 2c28b62a80 wintrust/tests: Simplify the code and improve consistency by removing unneeded function typedefs. 2007-06-13 12:00:47 +02:00
Paul Vriens 0bb92b37a4 wintrust/tests: Use A instead of W-calls. 2007-06-06 20:34:02 +02:00
Paul Vriens 49a20d1af7 wintrust/tests: Start of some crypt tests for wintrust. 2007-06-06 12:10:12 +02:00
Juan Lang 1af94dbf3b wintrust: Implement WintrustGetRegPolicyFlags and WintrustSetRegPolicyFlags. 2007-05-15 15:53:37 +02:00
Juan Lang 07a7079e22 wintrust: Implement WintrustLoadFunctionPointers. 2007-05-03 14:22:03 +02:00
Francois Gouget b66eeddec6 wintrust/tests: Print GetLastError() in decimal with '%u'. 2007-01-09 12:48:41 +01:00
Paul Vriens f230f63ad0 wintrust: Win64 printf format warning fixes. 2006-10-03 20:20:20 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00