Commit Graph

128 Commits

Author SHA1 Message Date
Jacek Caban 6b6ad98277 crypt32: Get rid of no longer needed fields in ContextList. 2013-10-17 11:19:26 +02:00
Jacek Caban 83026a7143 crypt32: Use context_t in addContext. 2013-10-17 11:19:20 +02:00
Jacek Caban c75af2b9e0 crypt32: Use context_t in enumContext. 2013-10-17 11:19:14 +02:00
Jacek Caban 8d4b288f59 crypt32: Use context_t in ContextList_Add. 2013-10-17 11:19:09 +02:00
Jacek Caban 2601f58acb crypt32: Don't use links to certs in memory store. 2013-10-17 11:18:45 +02:00
Jacek Caban 6ab429363a crypt32: Added cloning logic to context's vtbl. 2013-10-15 17:43:11 +02:00
Jacek Caban 05f248e968 crypt32: Pass contexts as context_t to CONTEXT_FUNCS->delete. 2013-10-15 17:43:08 +02:00
Jacek Caban 06f5ee4b2c crypt32: Store list entry directly in context_t. 2013-10-15 17:43:03 +02:00
Jacek Caban 988e8a78c2 crypt32: Moved CertAddCertificateContextToStore to cert.c. 2013-10-15 17:43:00 +02:00
Jacek Caban c72570ce52 crypt32: Use Context_Release instead of WINE_CONTEXT_INTERFACE. 2013-10-14 17:26:15 +02:00
Jacek Caban 76066d1cfe crypt32: Use Context_AddRef instead of WINE_CONTEXT_INTERFACE. 2013-10-14 17:26:15 +02:00
Jacek Caban 802a6bc1bb crypt32: Pass context as BASE_CONTEXT to Context_AddRef and added structs describing memory layout behind context structs. 2013-10-14 17:26:14 +02:00
Jacek Caban c7d1082b4f crypt32: Added new empty store type and use it for creating certificates with no store. 2013-10-14 17:26:14 +02:00
Jacek Caban fe9e23998a crypt32: Don't call CertFreeCertificateContext in CertDeleteCertificateContext, leave it to store-specific functions. 2013-10-14 17:26:14 +02:00
Jacek Caban 52b2add395 crypt32: Moved store context functions to vtbl. 2013-10-14 17:26:14 +02:00
Jacek Caban be023607cc crypt32: Added support for CERT_CLOSE_STORE_CHECK_FLAG flag in MemStore_release. 2013-10-14 17:26:14 +02:00
Jacek Caban 2256a728fe crypt32: Moved store release implementation to vtbl. 2013-10-14 17:26:14 +02:00
Jacek Caban b3b1135d84 crypt32: Added addref to store vtbl and use it instead of directly accessing ref. 2013-10-14 17:26:14 +02:00
Jacek Caban fa0b7b7d3d crypt32: Moved store functions to vtbl. 2013-10-11 16:23:43 +02:00
Jacek Caban 09121895fd crypt32: Get rid of no longer used contextSize argument in Context_CopyProperties. 2013-10-08 18:10:10 +02:00
Jacek Caban ad912961db crypt32: Allocate BASE_CONTEXT in the beginning of the memory block. 2013-10-08 18:09:48 +02:00
Jacek Caban 0a5cb15f94 crypt32: Get rid of remaining P* typedefs. 2013-09-04 14:38:41 +02:00
Jacek Caban 0c4a2df240 crypt32: Get rid of PWINECRYPT_CERTSTORE typedef. 2013-09-04 14:37:57 +02:00
Jacek Caban 9cee96bebf crypt32: Get rid of P*WINE_CONTEXT_INTERFACE typedefs. 2013-09-04 14:37:36 +02:00
Michael Stefaniuc 2793be9c6d crypt32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 11:49:49 +02:00
Juan Lang 7f0db79491 crypt32: Add stub for CertRegisterPhysicalStore. 2011-01-17 13:22:05 +01:00
Juan Lang 88a016184d crypt32: Add support for CERT_STORE_PROV_SERIALIZED to CertOpenStore. 2010-06-16 11:44:48 +02:00
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