Commit Graph

361 Commits

Author SHA1 Message Date
Juan Lang 528876c402 wintrust: Return error directly from SOFTPUB_LoadCatalogMessage. 2010-01-28 12:13:38 +01:00
Juan Lang 9e8e14ed12 wintrust: Return error directly from SOFTPUB_LoadFileMessage. 2010-01-28 12:13:35 +01:00
James Hawkins b2d1c3eeec wintrust: Fix a memory leak until our implementation is fixed. 2010-01-07 17:59:58 +01:00
Juan Lang 2fbe80ad89 wintrust: Check authority key identifer extension to determine if a certificate is self-signed. 2009-12-18 11:40:02 +01:00
Juan Lang 497b67dbf6 wintrust: Fail to load a certificate from a PE file if the certificate entry isn't a known type. 2009-12-07 09:49:18 +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 f4b359942b wintrust: Only close a file in SoftpubCleanup if the WINTRUST_DATA contains a WINTRUST_FILE_INFO. 2009-11-04 16:45:16 +01:00
Juan Lang a5087e6051 wintrust: Make sure item size is at least the min size, and only align sizes that are greater. 2009-10-23 12:00:17 +02:00
Juan Lang cd084ff1f9 wintrust: Test the pgKnownSubject field of WINTRUST_FILE_INFO. 2009-10-23 11:59:22 +02:00
Juan Lang 53f964fea8 wintrust: Correct sizes of structure members. 2009-10-20 14:00:35 +02:00
Juan Lang af192c20f9 wintrust: Simplify CRYPT_AsnDecodeInt. 2009-10-19 11:36:02 +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
Alexandre Julliard ec98af650b wintrust: Add stubs for the driver policy init functions. 2009-08-14 15:29:26 +02:00
Juan Lang 64b320b7d9 wintrust: Correct alignment for 64-bit. 2009-08-10 13:09:00 +02:00
Juan Lang 598e0a8fcf wintrust: Implement WVTAsn1SpcSpOpusInfoDecode. 2009-08-07 11:39:35 +02:00
Alexandre Julliard 56af92b073 makefiles: Regenerate the source lists using make_makefiles. 2009-07-03 13:26:38 +02:00
Hans Leidekker 44db8883f8 wintrust/tests: Initialize a variable. 2009-07-03 13:06:17 +02:00
Aric Stewart d962939290 wintrust: GetSignedMsgFromCabFile looks for signinfo at the beginning of the cab.
Discussed with Juan Lang, We could look for the signinfo at the 
beginning of the cab and restore the file pointer afterward.

This allows IE7 to read the signing information from downloaded ActiveX 
controls.
2009-06-25 11:46:28 +02:00
Aric Stewart 2dca912aa9 wintrust: Stub WTHelperCertCheckValidSignature. 2009-06-24 11:27:56 +02:00
Juan Lang 9da4d2f3a9 wintrust: Check for the presence of required members of WINTRUST_CERT_INFO rather than requiring callers to be compiled with the same SDK version. 2009-06-15 13:42:26 +02:00
Juan Lang abacfc0f45 wintrust: Check for the presence of required members of WINTRUST_BLOB_INFO rather than requiring callers to be compiled with the same SDK version. 2009-06-15 13:42:26 +02:00
Hans Leidekker f0cf772d52 wintrust: Add stub implementations of HTTPSCertificateTrust and HTTPSFinalProv. 2009-06-12 17:33:15 +02:00
Juan Lang 9ae0f7a191 wintrust: Only check the pgKnownSubject member if the struct includes it. 2009-06-12 17:33:14 +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
Francois Gouget d5936f4200 wintrust: Make WINTRUST_ReAlloc() static. 2009-02-18 12:17:31 +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
Andrew Talbot 8bfc62cf8b wintrust: Declare a functions static. 2009-02-02 12:11:58 +01:00
Michael Stefaniuc 0087064c2f wintrust: Remove superfluous pointer casts. 2009-01-29 14:06:06 +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
Hans Leidekker e361356e8e wintrust: Set system attribute on the target catalog file in CryptCATAdminAddCatalog. 2009-01-21 10:23:24 +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 4a2e02d57d wintrust: Add some CryptCATCDF stubs. 2009-01-19 14:19:45 +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
Juan Lang ae133b808f wintrust: Fix encoding OIDs with only two components. 2008-12-23 20:20:01 +01:00
Hans Leidekker a04afe7b70 wintrust: Fix message handle type.
Spotted by Juan Lang.
2008-12-23 18:52:41 +01:00
Hans Leidekker 053b2295a5 wintrust: Add some tests. 2008-12-23 18:52:28 +01:00
Hans Leidekker 32766e3882 wintrust: Add stub implementations of CryptCATEnumerateAttr, CryptCATEnumerateCatAttr, CryptCATGetAttrInfo, CryptCATGetCatAttrInfo and CryptCATGetMemberInfo. 2008-12-23 18:52:18 +01:00
Hans Leidekker 615d023bf1 wintrust: Implement CryptCATAdminResolveCatalogPath and CryptCATCatalogInfoFromContext. 2008-12-23 18:52:02 +01:00
Hans Leidekker dffccbf1f2 wintrust: Implement CryptCATEnumerateMember.
Based on work done by Maarten Lankhorst.
2008-12-23 18:51:53 +01:00
Hans Leidekker c7109645dc wintrust: Test find handles against INVALID_HANDLE_VALUE.
Spotted by Michael Stefaniuc.
2008-12-23 18:51:30 +01:00
Hans Leidekker f9e0e5198f wintrust: Implement CryptCATOpen and CryptCATClose.
Based on work done by Maarten Lankhorst.
2008-12-22 14:55:51 +01:00
Hans Leidekker 766669fbd2 wintrust: Implement CryptCATAdminEnumCatalogFromHash.
Based on work done by Maarten Lankhorst.
2008-12-22 14:55:51 +01:00
Hans Leidekker 21d5f4a617 wintrust: Record full catalog filename in catalog info structure, not just the basename. 2008-12-22 14:55:51 +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 02f805347d wintrust: Implement CryptCATAdminAddCatalog, CryptCATAdminReleaseCatalogContext and CryptCATAdminReleaseContext.
Based on work done by Maarten Lankhorst.
2008-12-18 14:52:21 +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
Andrew Talbot 79ab433946 wintrust: Sign-compare warnings fix. 2008-12-11 14:29:14 +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 ffa3d341db wintrust: Add stub for WVTAsn1SpcSpOpusInfoEncode. 2008-12-10 10:49:22 +01:00
Francois Gouget 8bd8609af8 wintrust: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:06 +01:00
Alexandre Julliard 04eb1e6a63 wintrust: Fix a buffer overflow. 2008-11-17 17:08:40 +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 05956a6483 wintrust: Add stub for WVTAsn1SpcFinancialCriteriaInfoDecode. 2008-11-04 11:19:11 +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 c196e2eea0 wintrust: Add stub for WVTAsn1SpcFinancialCriteriaInfoEncode. 2008-11-04 11:18:54 +01:00
Juan Lang 12a848e54b wintrust: Partially implement SoftpubLoadMessage for catalog files. 2008-10-24 14:25:00 +02:00
Juan Lang 153066c64a wintrust: Pass file handle and path to SOFTPUB_GetMessageFromFile. 2008-10-24 14:25:00 +02:00
Juan Lang 1bfb602993 wintrust: Separate loading a message from a WINTRUST_FILE_INFO into a helper function. 2008-10-24 14:25:00 +02:00
Juan Lang 6455674c97 wintrust: Separate loading a message from a WINTRUST_CERT_INFO into a helper function. 2008-10-24 14:25:00 +02: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 9216340ab7 wintrust: Add stub for WVTAsn1CatNameValueDecode. 2008-10-18 20:12:59 +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 9033fa9ab2 wintrust: Add stub for WVTAsn1CatNameValueEncode. 2008-10-18 20:12:40 +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 65c5d3e4a8 wintrust: Add stub for WVTAsn1CatMemberInfoDecode. 2008-10-18 19:31:19 +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