Commit Graph

29 Commits

Author SHA1 Message Date
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