Commit Graph

40 Commits

Author SHA1 Message Date
Marcus Meissner cf1bbb3bb8 crypt32: Avoid NULL ptr dereferences before checks (Coverity). 2013-10-28 20:03:39 +01:00
Jacek Caban 217e0119d9 crypt32: Get rid of no longer needed hCertStore checks. 2013-10-21 21:06:17 +02:00
Jacek Caban e7ab43c4bb crypt32: Return context_t from Context_CreateDataContext. 2013-10-21 21:06:17 +02:00
Jacek Caban eae8f4eda1 crypt32: Use empty_store for new CTL contexts. 2013-10-18 11:36:04 +02:00
Jacek Caban 9fb1e4d675 crypt32: Keep reference to store in contexts. 2013-10-18 11:35:58 +02:00
Jacek Caban 610c863e75 crypt32: Always return TRUE from CertFreeCTLContext. 2013-10-18 11:35:55 +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 6eddbf18ca crypt32: Store properties directly in link contexts and get rid of Context_GetProperties. 2013-10-17 11:19:03 +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 993691bef5 crypt32: Moved context desatructor to vtbl. 2013-10-14 17:26:15 +02:00
Jacek Caban 17e1dfef9b crypt32: Pass context as context_t to Context_Release. 2013-10-14 17:26:14 +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 52b2add395 crypt32: Moved store context functions to vtbl. 2013-10-14 17:26:14 +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 c1fa23ac5d crypt32: Get rid of no longer used contextSize argument in Context_Release. 2013-10-08 18:10:06 +02:00
Jacek Caban c6fd036b54 crypt32: Get rid of no longer used contextSize argument in Context_GetProperties. 2013-10-08 18:10:02 +02:00
Jacek Caban f82237102b crypt32: Get rid of no longer used contextSize argument in Context_AddRef. 2013-10-08 18:09:53 +02:00
Jacek Caban 0c4a2df240 crypt32: Get rid of PWINECRYPT_CERTSTORE typedef. 2013-09-04 14:37:57 +02:00
Jacek Caban d8c3ccee28 crypt32: Get rid of PCONTEXT_PROPERTY_LIST typedef. 2013-09-04 14:37:49 +02:00
Juan Lang be0d294485 crypt32: Fix memory leak in failure cases. 2011-09-22 19:51:50 +02:00
Juan Lang a7534610a3 crypt32: Fix return value (clang). 2011-02-16 14:26:26 +01:00
Juan Lang 7a610a9072 crypt32: Fix CertAddCTLContextToStore for CERT_STORE_ADD_USE_EXISTING add disposition. 2009-12-11 11:50:12 +01:00
Juan Lang 92324ab38e crypt32: Propagate errors from CertFree*Context to CertDelete*FromStore. 2009-11-04 16:45:17 +01:00
Juan Lang 40855cae97 crypt32: Add return value to Context_Release to allow detecting reference counting errors. 2009-11-04 16:45:16 +01:00
Juan Lang dd26bee14c crypt32: Fix duplicating a NULL CTL context. 2009-10-21 16:05:55 +02:00
Michael Stefaniuc 4eaaa913f8 crypt32: Remove some more superfluous pointer casts. 2009-01-26 14:31:08 +01:00
Juan Lang 00c50a6732 crypt32: Don't crash when querying the length of the hash of a CRL or a CTL. 2008-12-23 20:15:18 +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 07de224b54 crypt32: Implement CertAddCTLContextToStore. 2008-09-02 11:54:23 +02:00
Juan Lang 4f62230ee2 crypt32: Implement CertFindCTLInStore. 2008-09-02 11:54:09 +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 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