Commit Graph

23 Commits

Author SHA1 Message Date
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
Juan Lang a29ba27361 crypt32: Make a function static. 2008-12-19 17:36:36 +01:00
Michael Stefaniuc 7589715c87 crypt32: Remove superfluous casts of void pointers. 2008-11-04 11:26:34 +01:00
Juan Lang 78baaf932a crypt32: Assert condition that can occur only in case of a bug. 2008-09-10 10:40:40 +02:00
Alexandre Julliard 8926dce077 crypt32: Avoid casting away const from the context pointer. 2008-01-02 12:38:42 +01:00
Juan Lang 6aa03fc4c3 crypt32: Add more tests for getting issuer cert from store.
Show that certificates are added to memory stores at the head rather
than the tail.
2007-09-10 15:48:10 +02:00
Juan Lang c5a213a816 crypt32: Add a couple traces. 2007-08-08 15:32:01 +02:00
Jan Zerebecki e8956eb48b crypt32: Add DebugInfo to critical sections. 2007-03-12 13:37:57 +01:00
Juan Lang f3a1f2bf60 crypt32: Win64 printf format warning fixes. 2006-10-04 09:59:57 +02:00
Alexandre Julliard dbd473ff79 crypt32: Use unsigned int instead of size_t to avoid printf format warnings. 2006-06-13 14:14:00 +02:00
Juan Lang dc660a81ed crypt32: Combine redundant code. 2006-05-26 20:16:07 +02:00
Alexandre Julliard 52476a1124 Fixed a couple of instances of the old FSF address that crept back in. 2006-05-26 12:08:32 +02:00
Juan Lang e48a0a3c23 crypt32: Abstract contexts.
- create an abstract interface for contexts, and use it for certificates
- create a simple context list, and use it for memory stores
2006-05-23 17:52:40 +02:00