Commit Graph

186 Commits

Author SHA1 Message Date
Paul Vriens 6d6881a791 wintrust/tests: Add a missing FreeLibrary. 2008-09-05 16:26:33 +02:00
Juan Lang 2a31760331 wintrust: Implement CryptSIPGetSignedDataMsg for cabinet files.
Fixes a regression in installing the DirectX 9 runtime.
Based on code from cabinet.dll's fdi.c, thus the healthy dose of
attributions.  Unfortunately there's no public API that'll get this
info for me (that I know of.)
2008-07-24 11:58:02 +02:00
Juan Lang c7d1d34956 wintrust: Don't assume input file is a PE file in CryptSIPGetSignedDataMsg. 2008-07-24 11:57:34 +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 88ac766f8b wintrust: Correct error slot for SoftpubLoadSignature. 2008-07-16 17:53:32 +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
Andrew Talbot 015321910d wintrust: Remove unneeded address-of operators from array names. 2008-07-14 11:50:45 +02:00
Juan Lang 0c419108ef wintrust: Use path in WIN_TRUST_SUBJECT_FILE structure rather than assuming a path is passed in place of WINTRUST_DATA's pFile member. 2008-07-11 13:58:07 +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
Alexandre Julliard ef07d83405 Include wine/port.h everywhere we use exceptions. 2008-04-29 20:18:49 +02:00
Rob Shearman 91d5844f76 wintrust: Check that provider functions are not NULL before using them. 2008-04-24 11:49:42 +02:00
Rob Shearman 8e0f125f45 wintrust: Implement WTHelperGetProvPrivateDataFromChain.
Also fill in pfnAddPrivData2Chain in WintrustLoadFunctionPointers, which 
is the complement of WTHelperGetProvPrivateDataFromChain.
2008-04-24 11:49:35 +02:00
Austin English 6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Rhys McGuckin 890c3fd0f6 wintrust: Check for null CleanupPolicy function pointer. 2008-04-17 21:27:04 +02:00
Andrew Talbot e68cc16a11 wintrust: Avoid assigning to struct members from other structs. 2008-04-07 11:24:09 +02:00
Andrew Talbot a1732549ca wintrust: Assign to structs instead of using memcpy. 2008-03-24 11:32:58 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01: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
Juan Lang 14a12b8861 wintrust: Don't expect ImageGetCertificateData to succeed when Certificate is NULL. 2008-01-15 11:37:54 +01:00
Aric Stewart 8d5f94b199 wintrust: Implementations for WTHelperGetFileName and WTHelperGetFileHandle. 2007-12-11 17:49:48 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Alexandre Julliard 97675b1365 Include objbase.h where need to get the DllRegisterServer prototype. 2007-11-06 14:39:16 +01:00
Juan Lang 0cd5f2089e wintrust: Add generic chain action to known actions. 2007-10-09 20:20:40 +02:00
Juan Lang e69cf802e7 wintrust: Add traces. 2007-10-09 20:20:35 +02:00
Juan Lang 355193b70d wintrust: Implement GenericChainFinalProv. 2007-10-09 20:20:30 +02:00
Juan Lang d1fcdea034 wintrust: Implement GenericChainCertificateTrust. 2007-10-09 20:20:24 +02:00
Juan Lang cab0c5a553 wintrust: Add a helper function to create a chain for a signer. 2007-10-09 20:20:17 +02:00
Juan Lang 1a88c8bccb wintrust: Add a helper function to initialize chain creation parameters. 2007-10-09 20:20:11 +02:00
Juan Lang 7bff4e7141 wintrust: Trace input to WinVerifyTrust. 2007-10-09 20:20:04 +02:00
Juan Lang 4089be2588 wintrust: Use verify time rather than current time to check certificate chain. 2007-10-04 11:38:40 +02:00
Juan Lang b78c69dd4b wintrust: Remove bad check that prevents root certificates from appearing time valid. 2007-10-04 11:38:33 +02:00
Juan Lang deb1709686 wintrust: Use file's creation time as time to verify. 2007-10-04 11:38:27 +02:00
Juan Lang 85efd02fab wintrust: Copy time to verify from cert info. 2007-10-04 11:38:20 +02:00
Juan Lang fa355b2180 wintrust: Add stub for WVTAsn1SpcSpOpusInfoDecode. 2007-10-01 12:33:43 +02:00
Juan Lang 07979b9975 wintrust: Don't warn for generic cert verify action. 2007-10-01 12:33:07 +02:00
Juan Lang d7d4a5c4a9 wintrust: In SoftpubLoadSignature, don't assume a message is present. 2007-10-01 12:33:01 +02:00
Juan Lang 5fa5518641 wintrust: Improve SoftpubLoadMessage for WTD_CHOICE_CERT. 2007-10-01 12:32:55 +02:00
Juan Lang 5adeae168b wintrust: Implement SoftpubDefCertInit. 2007-10-01 12:32:49 +02:00
Francois Gouget 9114bc1bd8 wintrust: Fix compilation on systems that don't support nameless unions. 2007-09-18 11:20:31 +02:00
Juan Lang ae8e8a0a57 wintrust: Don't prefer native version. 2007-09-13 10:54:49 +02:00
Juan Lang 40f33d6568 wintrust: Implement WinVerifyTrust. 2007-09-13 10:54:41 +02:00