Commit Graph

226 Commits

Author SHA1 Message Date
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
Juan Lang 0463f99b73 wintrust: Partially implement SoftpubAuthenticode. 2007-09-13 10:54:34 +02:00
Juan Lang 277ef05efb wintrust: Save signer cert so chain can be created. 2007-09-13 10:54:29 +02:00
Juan Lang b13d16a0da wintrust: Implement SoftpubCleanup. 2007-09-13 10:54:22 +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 5d7bffa5c7 wintrust: Save signers of a message in SoftpubLoadSignature. 2007-08-29 12:00:24 +02:00
Juan Lang fb07a3aa02 wintrust: Use a helper function to get a signer's cert info from a message. 2007-08-29 12:00:18 +02:00
Juan Lang a4d85d80a3 wintrust: Use pfnAddStore2Chain internally. 2007-08-29 12:00:11 +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 492518d037 wintrust: Use common memory functions. 2007-08-28 11:58:02 +02:00
Juan Lang 6f8b296fb1 wintrust: Move mem alloc functions to wintrust_main.c. 2007-08-28 11:57:53 +02:00
Juan Lang 92de438469 wintrust: Implement SoftpubLoadSignature. 2007-08-28 11:57:37 +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 cf3535351a wintrust: Remove redundant check of pbSignedDataMsg (Coverity). 2007-08-16 11:51:35 +02:00
Juan Lang 33407c6397 wintrust: Forward WinVerifyTrustEx to WinVerifyTrust. 2007-08-15 10:42:23 +02:00
Juan Lang ba0b7a5de3 wintrust: Implement WTHelperProvDataFromStateData. 2007-08-15 10:42:18 +02:00
Juan Lang f1ec80d13b wintrust: Implement WTHelperGetProvCertFromChain. 2007-08-15 10:42:08 +02:00
Juan Lang 0823c4fc61 wintrust: Implement WTHelperGetProvSignerFromChain. 2007-08-15 10:41:58 +02:00
Juan Lang 261f02ca68 wintrust: Implement SPC indirect data decoding. 2007-08-14 13:29:21 +02:00
Juan Lang f7e62befe8 wintrust: Implement SPC indirect data encoding. 2007-08-14 13:29:10 +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
Juan Lang 4c5efcc412 wintrust: Add stubs for SPC_LINK and SPC_PE_IMAGE encoding/decoding. 2007-08-13 11:33:29 +02:00
Juan Lang 25f0fb929d wintrust: Implement CryptSIPGetSignedDataMsg. 2007-08-13 11:33:09 +02:00
Francois Gouget c9b9826786 wintrust: Fix the CryptCATAdminReleaseCatalogContext() prototype and better match the PSDK types.
Add some missing prototypes to mscat.h.
Update win32.api to fix the winapi_check warnings.
2007-08-08 15:32:03 +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
James Hawkins 98350044d5 wintrust: Add stub implementations for CryptCATAdminAddCatalog and CryptCATAdminReleaseCatalogContext. 2007-05-31 13:27:22 +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
Hans Leidekker fbe37d1b68 wintrust: Improve a number of stubs. 2007-04-06 12:31:04 +02:00
Francois Gouget 923c95a6da wintrust: Better match the PSDK types and fix the winapi_check warnings. 2007-01-26 13:54:06 +01:00
Francois Gouget b66eeddec6 wintrust/tests: Print GetLastError() in decimal with '%u'. 2007-01-09 12:48:41 +01:00
Paul Vriens dcec67ba60 wintrust: Win64 printf format warning fixes. 2006-10-04 20:55:56 +02: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
Paul Vriens a0ac040b8c wintrust: Added some CryptSIP stub implementations. 2006-09-27 18:16:11 +02:00
Paul Vriens bbf796c7a1 wintrust: Implement SoftpubDllRegisterServer. 2006-09-26 11:39:10 +02:00
James Hawkins 15b7934f3d wintrust: Add a stub implementation of CryptCATClose. 2006-09-21 18:23:47 +02:00
James Hawkins ab5494e83e wintrust: Add a stub implementation of CryptCATEnumerateMember. 2006-09-21 18:23:38 +02:00
James Hawkins 8082477d6c wintrust: Move the Crypt* functions to crypt.c. 2006-09-21 18:22:55 +02:00
James Hawkins a89db155d8 wintrust: Add a stub implementation of CryptCATOpen. 2006-09-21 18:22:48 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Paul Vriens 443aa69e20 wintrust: Add CryptSIPAddProvider calls to the registration. 2006-09-13 12:20:01 +02:00
Paul Vriens 0b0fc5593d wintrust: Use the return values of the registration functions. 2006-09-13 10:59:30 +02:00
Paul Vriens 7bcec7c5dd wintrust: We do care about errors during this kind of registration. 2006-09-13 10:59:11 +02:00
Paul Vriens 796057fdec wintrust: Simplify registration by using WintrustAddDefaultForUsage. 2006-09-13 10:58:49 +02:00
Paul Vriens 181574a1b4 wintrust: Implemented WintrustAddDefaultForUsage. 2006-09-12 14:58:46 +02:00