Commit Graph

38 Commits

Author SHA1 Message Date
Piotr Caban 3a945c3987 wintrust: Fix CryptSIPGetSignedMsg (from PE file). 2011-05-03 19:34:29 +02:00
Piotr Caban 3a6196b79e wintrust: Added CryptSIPPutSignedDataMsg implementation (for PE files). 2011-05-03 19:34:29 +02:00
Austin English 1f10a78cb0 wintrust: Remove a dead assignment (LLVM/Clang). 2011-02-04 15:25:33 +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
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
Hans Leidekker e361356e8e wintrust: Set system attribute on the target catalog file in CryptCATAdminAddCatalog. 2009-01-21 10:23:24 +01:00
Paul Vriens 4a2e02d57d wintrust: Add some CryptCATCDF stubs. 2009-01-19 14:19:45 +01:00
Paul Vriens 00ed4057b5 wintrust: Fix removing a catalog file. 2009-01-08 14:52:31 +01:00
Hans Leidekker a04afe7b70 wintrust: Fix message handle type.
Spotted by Juan Lang.
2008-12-23 18:52:41 +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
Hans Leidekker 50d76df1ea wintrust: Implement CryptCATAdminCalcHashFromFileHandle.
Based on work done by Maarten Lankhorst.
2008-12-19 17:16:12 +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
Andrew Talbot 79ab433946 wintrust: Sign-compare warnings fix. 2008-12-11 14:29:14 +01:00
Maarten Lankhorst 4b9fd9a289 includes: Fix CryptCATAdminAddCatalog definition. 2008-10-16 11:21:51 +02:00
Juan Lang a4eb01d2d7 wintrust: Implement CryptSIPGetSignedDataMsg for .cat files. 2008-10-09 12:14:51 +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
Paul Vriens ea4489cfb0 wintrust/crypt: Fix some test failures for a NULL parameter. 2008-02-11 20:41:40 +01:00
Juan Lang 14a12b8861 wintrust: Don't expect ImageGetCertificateData to succeed when Certificate is NULL. 2008-01-15 11:37:54 +01:00
Juan Lang cf3535351a wintrust: Remove redundant check of pbSignedDataMsg (Coverity). 2007-08-16 11:51:35 +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
James Hawkins 98350044d5 wintrust: Add stub implementations for CryptCATAdminAddCatalog and CryptCATAdminReleaseCatalogContext. 2007-05-31 13:27:22 +02:00
Hans Leidekker fbe37d1b68 wintrust: Improve a number of stubs. 2007-04-06 12:31:04 +02:00
Paul Vriens dcec67ba60 wintrust: Win64 printf format warning fixes. 2006-10-04 20:55:56 +02:00
Paul Vriens a0ac040b8c wintrust: Added some CryptSIP stub implementations. 2006-09-27 18:16:11 +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