Commit Graph

281 Commits

Author SHA1 Message Date
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
Paul Vriens 199c5f0ba9 wintrust: Added tests for WintrustAddDefaultForUsage. 2006-09-12 14:58:29 +02:00
Paul Vriens 1f05420b5c wintrust: Added stubbed WintrustAddDefaultForUsage. 2006-09-12 14:57:28 +02:00
Paul Vriens 6a585fcafc wintrust: Remove some TRACE's as they are now covered by WintrustAddActionID. 2006-09-12 11:00:51 +02:00
Paul Vriens e44686e617 wintrust: Removed stray backslash. 2006-09-12 11:00:42 +02:00
Paul Vriens 9b9de584bf wintrust: Typo in TRACE. 2006-09-12 11:00:36 +02:00
Paul Vriens 90ffc37aa7 wintrust: Simplify registrations by using WintrustAddActionID. 2006-09-12 10:54:57 +02:00
Paul Vriens 944a7788bd wintrust: Change the name of the strings to not confuse them with the functions that are present in wintrust. 2006-09-11 12:22:26 +02:00
Paul Vriens f9141fddbe wintrust: Use the return value of CryptRegisterOIDFunction. 2006-09-11 12:20:54 +02:00
Francois Gouget 6393fed2d4 wintrust: In recent SDKs, WinVerifyTrust()'s last parameter is a void pointer. 2006-09-11 11:29:19 +02:00
Francois Gouget 06f9532dda Assorted spelling fixes. 2006-09-08 11:04:53 +02:00
Paul Vriens 6e38461019 wintrust: Add a bunch of CryptRegisterOIDFunction calls. 2006-09-07 13:07:48 +02:00
Paul Vriens 9132cac93c wintrust: Only register actions when HKLM\Software\Microsoft\Cryptography\Providers\Trust can be opened. 2006-09-07 13:07:13 +02:00
Paul Vriens 609b7af8ce wintrust: Register WINTRUST_ACTION_GENERIC_CHAIN_VERIFY. 2006-09-07 13:06:55 +02:00
Paul Vriens 073d4eca9e wintrust: Register DRIVER_ACTION_VERIFY. 2006-09-07 13:06:22 +02:00
Paul Vriens e47bf4965e wintrust: Register OFFICESIGN_ACTION_VERIFY. 2006-09-07 13:06:01 +02:00
Paul Vriens e7798305bd wintrust: Register HTTPSPROV_ACTION. 2006-09-07 13:05:38 +02:00
Paul Vriens f73967a8e0 wintrust: Register WINTRUST_ACTION_TRUSTPROVIDER_TEST. 2006-09-07 13:05:08 +02:00
Paul Vriens ccb4ff764f wintrust: Register WINTRUST_ACTION_GENERIC_CERT_VERIFY. 2006-09-07 13:04:45 +02:00
Paul Vriens 32407f9074 wintrust: Register WIN_SPUB_ACTION_PUBLISHED_SOFTWARE_NOBADUI. 2006-09-07 13:04:17 +02:00
Paul Vriens bded72fc95 wintrust: Register WIN_SPUB_ACTION_PUBLISHED_SOFTWARE. 2006-09-07 13:03:51 +02:00
Paul Vriens 7b75ec2098 wintrust: Register WINTRUST_ACTION_GENERIC_VERIFY_V2. 2006-09-07 13:03:24 +02:00
Paul Vriens d22003e3e8 wintrust: Moved the generation of the guidstring to a separate function. 2006-09-07 10:54:35 +02:00
Paul Vriens 3747f22337 wintrust: Implementation of WintrustAddActionID. 2006-09-07 10:54:18 +02:00
Paul Vriens 94e4f593b7 wintrust: Implementation of WintrustRemoveActionID. 2006-09-07 10:52:39 +02:00
Paul Vriens 1f30d8994a wintrust: Add some documentation. 2006-09-07 10:14:50 +02:00
Paul Vriens dce0d05e83 wintrust: Add some extra tests for WintrustRemoveActionID. 2006-09-07 10:14:43 +02:00
Paul Vriens 95bb90326a wintrust: Add framework and initial tests. 2006-08-29 13:46:31 +02:00
Paul Vriens fc3c9c5ee6 wintrust: Add some register stubs. 2006-08-29 13:03:44 +02:00
Paul Vriens 8170d88509 wintrust: Move register related functions to a separate file. 2006-08-29 13:03:35 +02:00
Paul Vriens 5c0ea644da wintrust: Add some documentation. 2006-08-23 15:57:40 +02:00
Paul Vriens b20dad068a wintrust: Added stubbed CryptCATAdminEnumCatalogFromHash. 2006-08-21 12:09:08 +02:00
Paul Vriens 80df5324ba wintrust: Added stubbed WintrustLoadFunctionPointers. 2006-08-15 19:24:49 +02:00
Paul Vriens 6f872e5313 wintrust: Added stubbed WintrustRemoveActionID. 2006-08-14 20:49:18 +02:00
James Hawkins f5e0195be6 wintrust: Always return ERROR_SUCCESS in WinVerifyTrust. 2006-08-08 11:14:17 +02:00
Juan Lang 7fc56136be wintrust: Implement TrustIsCertificateSelfSigned. 2006-08-02 11:41:44 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack ee069f24ba wintrust: Use the definition of WINTRUST_ACTION_GENERIC_VERIFY_V2 in softpub.h. 2006-03-22 11:19:50 +01:00
Alexandre Julliard c39a5f0dba Added DLL_WINE_PREATTACH handling in a number of stub-only dlls. 2006-03-21 16:19:07 +01:00
Juan Lang 2c5f20b701 wintrust: Add some stubs. 2006-02-18 15:50:01 +01:00
Vincent Béron d52dafb5cc Add a few missing #includes. 2005-12-07 12:51:39 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Stefan Leichter b7819c2431 Added stubs for DllRegisterServer, DllUnregisterServer and
WintrustSetRegPolicyFlags.
2005-09-16 18:44:26 +00:00
Paul Vriens 90215e81bb Return ERROR_SUCCESS as default and TRUST_E_PROVIDER_UNKNOWN if asked
for WINTRUST_ACTION_GENERIC_VERIFY_V2.
2005-09-12 10:10:36 +00:00
Stefan Leichter a67cb1d668 Added version resource to wintrust.dll. 2005-09-06 09:20:02 +00:00
Paul Vriens a221e0e2dd Return TRUST_E_PROVIDER_UNKNOWN until implemented. 2005-07-15 09:54:34 +00:00
Alexandre Julliard aa0b9aac0d Sort entry points alphabetically. 2005-06-22 18:38:23 +00:00
Paul Vriens 0aec9906cf Added a stub for CryptCATAdminCalcHashFromFileHandle. 2005-06-05 17:53:48 +00:00
Mike McCormack 632ee62a3e Add stubs and stub implementations. 2005-06-01 19:49:41 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Michael Stefaniuc a740045064 Stub for CryptCATAdminReleaseContext. 2005-02-23 12:43:12 +00:00
Francois Gouget 85ae255f96 Fix some issues reported by winapi_check:
Add mscat.h and wintrust.h; update wincrypt.h.
Fix the CryptCATAdminAcquireContext() and WinVerifyTrust() prototypes
so they use the proper types.
Update the wintrust section of win32.api.
2004-10-21 21:00:29 +00:00
Uwe Bonnes 06ea3c65f5 Add kernel32 as import for wintrust. 2004-10-19 21:09:12 +00:00
Stefan Leichter 63289cd67c Added stub for CryptCATAdminAcquireContext. 2004-10-18 21:19:46 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Dimitrie O. Paun 475cdcba8c Remove the win32 debug channel, misc cleanup of debugging code. 2004-02-26 05:30:54 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Francois Gouget 0fc0ddb62d Add stubs for some new WinXP APIs. 2003-06-13 16:29:54 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Robert Shearman bda22de541 - Add some stubs.
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall b3086a7593 Fixed some issues found by winapi_check. 2001-04-25 19:54:21 +00:00
Rein Klazes 2a4c68bd0b Added new dll wintrust.dll with a stub for WinVerifyTrust(). 2001-04-16 19:36:12 +00:00