Commit Graph

101 Commits (06a3cea1cd5dd122b66f6a77feef4c62d5cb91f7)

Author SHA1 Message Date
Juan Lang 1cff4f5229 crypt32: Add support for szCERT_STORE_PROV_PKCS7 to CertOpenStore. 2010-06-16 10:40:43 +02:00
Juan Lang 76fc5c8bc5 crypt32: Validate add disposition before checking source certificate's properties. 2010-05-17 12:42:31 +02:00
Michael Stefaniuc 0a866d0e45 crypt32: Avoid using HIWORD() on a string pointer.
The stray IS_INTRESOURCE() is applied to a true resource. The other
strings are OIDs and not resources.
2010-01-29 14:59:02 +01:00
Juan Lang c7609f3c55 crypt32: Fix CertAddCRLContextToStore for CERT_STORE_ADD_USE_EXISTING add disposition. 2009-12-11 11:50:09 +01:00
Juan Lang 0444cd93c4 crypt32: Don't dereference an output pointer which may be NULL. 2009-12-11 11:50:03 +01:00
Juan Lang a16ca1d039 crypt32: Add a warning if a store's ref count is invalid. 2009-11-05 11:57:47 +01:00
Juan Lang 33c70d35dd crypt32: Add an implementation of CertControlStore for memory stores. 2009-11-04 17:15:02 +01:00
Juan Lang 108f30bb7d crypt32: Rename a function to reflect its behavior better, and return whether it succeeds. 2009-11-04 16:45:18 +01:00
Juan Lang 7e1cff1c18 crypt32: Release contexts when removing them from the mem store. 2009-11-04 16:45:18 +01:00
Juan Lang 92324ab38e crypt32: Propagate errors from CertFree*Context to CertDelete*FromStore. 2009-11-04 16:45:17 +01:00
Juan Lang ef79507d88 crypt32: Don't free a certificate that hasn't been removed from its store. 2009-08-11 12:31:12 +02:00
Michael Stefaniuc 903585162d crypt32: Remove remaining superfluous pointer casts. 2009-01-28 12:30:54 +01:00
Juan Lang 0509d021c0 crypt32: Include root store in CertEnumSystemStore enumeration for the local machine location. 2009-01-19 13:36:26 +01:00
Juan Lang 56634dce7b crypt32: Only open the read-only root store for the local machine location. 2009-01-19 13:36:26 +01:00
Juan Lang cefe88208d crypt32: Support add disposition CERT_STORE_ADD_NEWER_INHERIT_PROPERTIES. 2008-12-23 19:52:09 +01:00
Michael Stefaniuc 7589715c87 crypt32: Remove superfluous casts of void pointers. 2008-11-04 11:26:34 +01:00
Juan Lang 5aacc1df9f crypt32: Add stub for CertEnumPhysicalStore. 2008-10-23 12:13:14 +02:00
Juan Lang 5a5129b42e crypt32: Pass flags to enumeration callback. 2008-10-23 12:13:09 +02:00
Juan Lang 07de224b54 crypt32: Implement CertAddCTLContextToStore. 2008-09-02 11:54:23 +02:00
Juan Lang 7a2cedadbc crypt32: Implement CertDeleteCTLFromStore. 2008-09-02 11:54:02 +02:00
Juan Lang 7572f61f38 crypt32: Implement CertEnumCTLsInStore. 2008-09-02 11:53:55 +02:00
Juan Lang caf6a7dcbc crypt32: Add CTLs to the memory store. 2008-09-02 11:53:21 +02:00
Juan Lang aebb937207 crypt32: Implement CertAddEncodedCTLToStore. 2008-09-02 11:53:13 +02:00
Juan Lang 3eb62ad60b crypt32: Implement CertDuplicateCTLContext. 2008-09-02 11:53:07 +02:00
Juan Lang 0ada2b93f9 crypt32: Add support for CTL properties. 2008-09-02 11:53:01 +02:00
Juan Lang 429b1e1b41 crypt32: Implement CertCreateCTLContext and CertFreeCTLContext. 2008-09-02 11:52:44 +02:00
Erik de Castro Lopo 0ef69ef9dd crypt32: Use LOWORD on LPCSTR type instead of casting to int. 2008-04-25 11:34:53 +02:00
Andrew Talbot d3afff856e crypt32: Remove unused variables. 2008-04-15 15:32:20 +02:00
Juan Lang 348261e6ab crypt32: Fix a test failure on Vista, and make Wine match the newer (and saner) behavior. 2008-02-16 13:51:59 +01:00
Andrew Talbot 5d886557df crypt32: Remove unneeded casts. 2007-12-31 17:44:51 +01:00
Juan Lang fa6b64d6fc crypt32: Add CERT_STORE_ADD_NEWER support to CertAddCertificateContextToStore. 2007-11-28 11:20:11 +01:00
Juan Lang deadc6cf7b crypt32: Don't define function pointers that are NULL (and unused). 2007-11-05 14:15:24 +01:00
Juan Lang 3d1ba2ab9d crypt32: Don't store a redundant copy of data in the message store. 2007-11-05 14:15:14 +01:00
Juan Lang a762ffbe14 crypt32: Simplify I_CertUpdateStore. 2007-10-22 12:36:07 +02:00
Juan Lang abc2aec88c crypt32: Use I_CertUpdateStore in registry stores. 2007-10-19 14:20:59 +02:00
Juan Lang e857f383a4 crypt32: Implement I_CertUpdateStore. 2007-10-19 14:18:20 +02:00
Juan Lang f6ebeba5a2 crypt32: Move CertSaveStore to serialize.c. 2007-09-28 11:35:03 +02:00
Juan Lang 6471621f5e crypt32: Implement CertSaveStore. 2007-09-28 11:31:26 +02:00
Juan Lang 9663f9427b crypt32: Add a root store implementation that reads trusted certificates from well-known locations on the local system. 2007-09-11 11:57:06 +02:00
Juan Lang 1d53424470 crypt32: Don't store the crypto provider when it isn't needed. 2007-08-20 11:52:21 +02:00
Juan Lang 4e1108533b crypt32: Pass crypto provider and appropriate flags when opening PKCS messages, and don't store a redundant copy of the crypto provider in message stores. 2007-08-20 11:51:57 +02:00
Juan Lang 71dffcee84 crypt32: Move file store to a separate file. 2007-08-17 12:01:38 +02:00
Juan Lang 0070d8226f crypt32: Move registry stores to a separate file. 2007-08-17 12:01:38 +02:00
Juan Lang 131f1d20e7 crypt32: Move provider stores to a separate file. 2007-08-17 12:01:38 +02:00
Juan Lang 9f85156e23 crypt32: Move collection stores to a separate file. 2007-08-17 12:01:38 +02:00
Juan Lang adaaab923d crypt32: Move cert store definitions to header. 2007-08-17 12:01:38 +02:00
Juan Lang f3128c9244 crypt32: Where possible, pass a pointer rather than an offset, it's less confusing. 2007-08-17 12:01:38 +02:00
Juan Lang 2a8aa87878 crypt32: Use externed vars for context variables. 2007-08-17 12:01:38 +02:00
Juan Lang 6aa10439a9 crypt32: Use public APIs to empty a store. 2007-08-17 12:01:37 +02:00
Juan Lang bc37988dff crypt32: Use public type and APIs for memory stores wherever possible. 2007-08-17 12:01:37 +02:00