Commit Graph

148 Commits

Author SHA1 Message Date
Eric Pouech 5fc99b35ba crypt32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-09 18:37:32 +01:00
Alexandre Julliard 97479d3d32 ntdll: Move some exception definitions to winternl.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 13:52:42 +02:00
Alexandre Julliard 4120fb994a crypt32: Use wide-character string literals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-09 11:44:12 +01:00
Alexandre Julliard 03bf236961 crypt32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-09 11:41:21 +01:00
Piotr Caban 57a8c4dbe8 crypt32: Don't use strncasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 20:27:39 +02:00
Nikolay Sivov 6de2e83e00 crypt32: Use ARRAY_SIZE macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 11:23:06 +02:00
Alex Henrie f0da42f7f6 include: Add CertRegisterSystemStore and CertUnregisterSystemStore.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:58 +01:00
Hans Leidekker 9bafbe1086 crypt32: Add a stub implementation of CertUnregisterPhysicalStore.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:21 +01:00
Donat Enikeev c2b0dfd73d crypt32: Import system root certs into volatile registry keys instead of dedicated root store.
Signed-off-by: Donat Enikeev <donat@enikeev.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-07 17:49:25 +01:00
Donat Enikeev 71bd13391b crypt32: Cert(Un)RegisterSystemStore semi-stubs.
Signed-off-by: Donat Enikeev <donat@enikeev.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 09:48:51 -07:00
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 0f57425a8f crypt32: Clone CRL context instead of using link in CertAddCRLContextToStore. 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 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 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