Commit graph

62 commits

Author SHA1 Message Date
Jacek Caban
9adff9d026 crypt32: Don't access context after releaseContext call. 2013-10-22 16:37:41 +02:00
Jacek Caban
e7ab43c4bb crypt32: Return context_t from Context_CreateDataContext. 2013-10-21 21:06:17 +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
fa37b63517 crypt32: Moved ContextList freeing to store.c and get rid of ContextList. 2013-10-17 11:20:01 +02:00
Jacek Caban
bf464f81a8 crypt32: Share more code between memory store deleteContext implementations. 2013-10-17 11:19:56 +02:00
Jacek Caban
4d28e14acb crypt32: Share more code between memory store enumContext implementations. 2013-10-17 11:19:51 +02:00
Jacek Caban
63eed79d25 crypt32: Share more code between memory store addContext implementations. 2013-10-17 11:19:46 +02:00
Jacek Caban
23884726f7 crypt32: Use list struct directly instead of ContextList wrapper. 2013-10-17 11:19:41 +02:00
Jacek Caban
724754da64 crypt32: Moved critical section out of ContextList struct. 2013-10-17 11:19:35 +02:00
Jacek Caban
6b6ad98277 crypt32: Get rid of no longer needed fields in ContextList. 2013-10-17 11:19:26 +02:00
Jacek Caban
619bbe5d29 crypt32: Get rid of no longer needed BASE_CONTEXT. 2013-10-17 11:19:23 +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
6eddbf18ca crypt32: Store properties directly in link contexts and get rid of Context_GetProperties. 2013-10-17 11:19:03 +02:00
Jacek Caban
275ac93e8d crypt32: Get rid of no longer used functions. 2013-10-17 11:18:57 +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
03ff35c270 crypt32: Store extra pointer directly in context_t and get rid of Context_GetExtra. 2013-10-15 17:43:05 +02:00
Jacek Caban
06f5ee4b2c crypt32: Store list entry directly in context_t. 2013-10-15 17:43:03 +02:00
Jacek Caban
2553b4602b crypt32: Use context_t in Context_CreateLinkContext. 2013-10-14 17:26:15 +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
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
b2b71c2085 crypt32: Use linked pointer instead of context type to test for linked contexts. 2013-10-14 17:26:14 +02:00
Jacek Caban
bb2c32d776 crypt32: Don't follow linked contexts in AddRef/Release implementations. 2013-10-08 18:10:15 +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
5b5bb50852 crypt32: Get rid of no longer used contextSize argument in Context_GetLinkedContext. 2013-10-08 18:09:58 +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
ad912961db crypt32: Allocate BASE_CONTEXT in the beginning of the memory block. 2013-10-08 18:09:48 +02:00
Jacek Caban
12982d867a crypt32: Use BASE_CONTEXT for both data and link contexts. 2013-10-08 18:09:42 +02:00
Jacek Caban
f4c8c3d69c crypt32: Get rid of P*_CONTEXT typedefs. 2013-09-04 14:38:19 +02:00
Jacek Caban
d8c3ccee28 crypt32: Get rid of PCONTEXT_PROPERTY_LIST typedef. 2013-09-04 14:37:49 +02:00
Jacek Caban
9cee96bebf crypt32: Get rid of P*WINE_CONTEXT_INTERFACE typedefs. 2013-09-04 14:37:36 +02: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
df39bbba4f crypt32: Don't delete a context when removing it from a list. 2009-11-04 16:45:18 +01:00
Juan Lang
787d0ab564 crypt32: Add an error if the ref count is invalid when releasing a context. 2009-11-04 16:45:18 +01:00
Juan Lang
1f363cd399 crypt32: Trace whenever a reference count changes, and change default debug channel to quiet the main crypt channel. 2009-11-04 16:45:18 +01:00
Juan Lang
17894eb093 crypt32: Release a link context's linked context on every release, not just when it reaches 0. 2009-11-04 16:45:17 +01:00
Juan Lang
52820b9cf8 crypt32: When creating a link context, call Context_AddRef to add-ref it so its children get add-ref'd too. 2009-11-04 16:45:17 +01:00
Juan Lang
5f81ad6821 crypt32: When add-ref'ing a context, add-ref its linked contexts too. 2009-11-04 16:45:17 +01:00
Juan Lang
fb5e0d8a4d crypt32: When removing contexts from a list, make sure the context no longer references the list. 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
Andrew Talbot
465a583f27 crypt32: Constify some variables. 2009-06-15 13:42:30 +02:00
Michael Stefaniuc
4eaaa913f8 crypt32: Remove some more superfluous pointer casts. 2009-01-26 14:31:08 +01:00