Commit Graph

46 Commits (a62bed3bb86a9580ea8804bab37b45e1a614ec14)

Author SHA1 Message Date
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 0f57425a8f crypt32: Clone CRL context instead of using link in CertAddCRLContextToStore. 2013-10-21 21:06:17 +02:00
Jacek Caban c01a708424 crypt32: Use empty_store for new CRL contexts. 2013-10-18 11:36:01 +02:00
Jacek Caban 9fb1e4d675 crypt32: Keep reference to store in contexts. 2013-10-18 11:35:58 +02:00
Jacek Caban 351314145f crypt32: Always return TRUE from CertFreeCRLContext. 2013-10-18 11:34:06 +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 06f5ee4b2c crypt32: Store list entry directly in context_t. 2013-10-15 17:43:03 +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 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 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 4df042b54b crypt32: Compare CRL's authority key identifier against the certificate's subject key identifier property, which also decodes the certificate's extension if necessary. 2009-12-09 12:02:43 +01:00
Juan Lang 8e51a866b7 crypt32: When searching for a CRL by the AKI extension, the extension has to be decoded to match. 2009-11-21 14:31:46 +01:00
Juan Lang 8646c39bdb crypt32: Finding a CRL issued by a cert should compare the cert's subject, not its issuer. 2009-11-21 14:31:46 +01:00
Juan Lang 9d9070ae3c crypt32: CertFindCRLInStore with find type CRL_FIND_ISSUED_FOR shouldn't check whether the CRL is valid for the subject certificate. 2009-11-20 11:15:11 +01:00
Juan Lang f378394acd crypt32: Correct CertIsValidCRLForCertificate for certificates that do not contain a CRL dist points extension. 2009-11-20 11:15:06 +01:00
Juan Lang 8fcaa52d5d crypt32: Add support for CRL_FIND_ISSUED_BY_AKI_FLAG to CertFindCRLInStore. 2009-11-19 11:49:59 +01:00
Juan Lang 4727212e01 crypt32: Add support for CRL_FIND_ISSUED_BY_SIGNATURE_FLAG to CertFindCRLInStore. 2009-11-19 11:49:46 +01:00
Juan Lang c84c53b1a6 crypt32: More fully implement CertIsValidCRLForCertificate. 2009-11-19 11:49:33 +01:00
Juan Lang 4fa4f67c79 crypt32: Implement CertFindCRLInStore for find type CRL_FIND_ISSUED_FOR. 2009-11-19 11:49:09 +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 acc9d81f26 crypt32: Fix duplicating a NULL CRL context. 2009-10-21 16:05:54 +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
Michael Stefaniuc 7589715c87 crypt32: Remove superfluous casts of void pointers. 2008-11-04 11:26:34 +01:00
Juan Lang 0ab7781d99 crypt32: Fix typo. 2008-08-29 12:23:54 +02:00
Alexandre Julliard 8926dce077 crypt32: Avoid casting away const from the context pointer. 2008-01-02 12:38:42 +01:00
Juan Lang cf904c2bc4 crypt32: Use GetSystemTimeAsFileTime rather than GetSystemTime/SystemTimeToFileTime. 2007-10-19 14:21:18 +02:00
Juan Lang 79cd672c3d crypt32: Use public functions to get store access state. 2007-05-15 15:19:33 +02:00
Juan Lang 0170a41e69 crypt32: Don't set ret to TRUE when it already is.
Set it to FALSE when it needs to be.
2007-05-15 15:18:50 +02:00
Andrew Talbot e04f6be381 crypt32: Constify some variables. 2007-04-10 11:04:57 +02:00
Andrew Talbot 58f9b6076f crypt32: Cast-qual warnings fix. 2006-10-25 12:14:23 +02:00
Juan Lang f3a1f2bf60 crypt32: Win64 printf format warning fixes. 2006-10-04 09:59:57 +02:00
Juan Lang 77ea583ab0 crypt32: Implement CertGetCRLFromStore.
- implement CertGetCRLFromStore, with tests
- update tests for CRL revocation functions to show name isn't checked
2006-06-22 12:29:04 +02:00
Juan Lang e8992af0fa crypt32: Implement some CRL verification functions. 2006-06-21 11:15:49 +02:00
Juan Lang 13e006a715 crypt32: Simplify CRL creation.
Decoding already handles signed and unsigned CRLs, so don't duplicate
that in CertCreateCRLContext.
2006-06-20 11:05:26 +02:00
Juan Lang b29c2335b8 crypt32: Implement CertVerifyCRLTimeValidity and partially implement CertVerifySubjectCertificateContext. 2006-05-26 20:20:50 +02:00
Juan Lang c4f2bcf3d1 crypt32: Add support for CRLs. 2006-05-25 20:19:12 +02:00