Commit Graph

45 Commits

Author SHA1 Message Date
Juan Lang 41b3b8e4eb cryptnet: Add stub for verifying revocation via OCSP. 2009-12-18 11:37:48 +01:00
Juan Lang 7a987b7714 cryptnet: Use helper function to check revocation with a CRL distribution points extension. 2009-12-18 11:37:42 +01:00
Juan Lang f1f231ca40 cryptnet: Use helper function to get a URL from a CRL distribution points extension. 2009-12-18 11:37:38 +01:00
Juan Lang 0bfb7951a4 cryptnet: Make sure an issuer certificate can sign CRLs before looking for a CRL. 2009-12-18 11:37:31 +01:00
Juan Lang 60ddb1365d cryptnet: If the caller specifies the location of a CRL, check a cert's revocation status against it. 2009-12-17 12:53:03 +01:00
Juan Lang 44e4ac2128 cryptnet: Use helper function to check a cert against a CRL. 2009-12-17 12:52:52 +01:00
Juan Lang 165d380852 cryptnet: Change guard variable to simplify loop. 2009-12-17 12:52:47 +01:00
Juan Lang 4729cdd1e9 cryptnet: Use helper function to verify a certificate's revocation. 2009-12-17 12:52:43 +01:00
Juan Lang 9072050906 cryptnet: Store the bytes actually read, not the bytes available to be read. 2009-12-04 12:05:38 +01:00
Juan Lang 59820c2e5c cryptnet: Implement getting the certificate issuer URL from a cert's authority info access extension. 2009-12-04 12:01:53 +01:00
Marcus Meissner 28c6c44df4 cryptnet: Added a potentially missing NULL ptr check (Coverity). 2009-12-01 13:14:31 +01:00
Juan Lang 51eee4e7c9 cryptnet: Improve CryptGetObjectUrl stub for URL_OID_CERTIFICATE_ISSUER. 2009-11-23 10:38:33 +01:00
Juan Lang ff57ba9d7c cryptnet: Check CRL with verify time in CertDllVerifyRevocation. 2009-11-21 14:31:44 +01:00
Juan Lang a82678da97 cryptnet: Check number of contexts in CertDllVerifyRevocation. 2009-11-20 11:13:49 +01:00
Juan Lang 35dbc201ae cryptnet: Fix memory leaks querying an object. 2009-11-20 11:13:36 +01:00
Andrew Talbot 6ddc981c2b cryptnet: Constify some variables. 2009-06-23 11:46:08 +02:00
Michael Stefaniuc a28052ab8a cryptnet: Remove superfluous pointer casts. 2009-01-14 13:51:01 +01:00
Juan Lang 6b8fb4ed9b cryptnet: Set cache expiration time of objects that have an expiration time to the object's expiration time, rather than relying on the HTTP Expires header. 2008-10-08 12:18:09 +02:00
Juan Lang da605a935b cryptnet: Don't access URL cache entry before it's been read. 2008-10-08 12:18:00 +02:00
Gerald Pfeifer bcf7996e95 cryptnet: Include stdarg.h. 2008-09-22 11:51:39 +02:00
Rob Shearman f530cf9e76 cryptnet: Define CERT_REVOCATION_PARA_HAS_EXTRA_FIELDS before including any PSDK headers. 2008-09-17 12:02:10 +02:00
Rob Shearman b0e8143db6 cryptnet: Fix mismatch between sizeof and countof quantities in CRYPT_GetUrlFromCertificateCRLDistPoint.
nextUrl is of type "WCHAR *" so don't multiply the length by
"sizeof(WCHAR)" when incrementing the pointer.
2008-08-18 17:15:56 +02:00
Andrew Talbot 2289717a59 cryptnet: Remove unused function. 2008-05-20 15:43:54 +02:00
Andrew Talbot 46b6f43fa0 cryptnet: Remove unneeded cast. 2007-12-31 17:44:06 +01:00
Aric Stewart 1f98ede4f0 cryptnet: InternetCrackUrlW requires component buffers when used with ICU_DECODE. 2007-12-14 12:27:38 +01:00
Alexandre Julliard 97675b1365 Include objbase.h where need to get the DllRegisterServer prototype. 2007-11-06 14:39:16 +01:00
Francois Gouget 4b6368c0e2 cryptnet: Fix compilation on systems that don't support nameless structs. 2007-10-29 12:04:42 +01:00
Francois Gouget ce9cc0ba50 cryptnet: Fix compilation on systems that don't support nameless unions. 2007-10-26 15:20:46 +02:00
Juan Lang 42d0d50561 cryptnet: Don't prefer native version. 2007-10-24 12:32:59 +02:00
Juan Lang 07794d5890 cryptnet: Implement CertDllVerifyRevocation. 2007-10-24 12:32:52 +02:00
Juan Lang 45f260e3e2 cryptnet: Get cache entry expire time from HTTP expires header. 2007-10-24 12:29:51 +02:00
Juan Lang 6c5f759d5a cryptnet: Set timeout on http connections when a timeout is specified. 2007-10-24 12:29:41 +02:00
Francois Gouget b1335db353 Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-23 18:19:42 +02:00
Juan Lang d1d0c97c84 cryptnet: Implement CryptRetrieveObjectByUrlW for the http protocol. 2007-10-23 12:25:04 +02:00
Juan Lang dcb8c874e8 cryptnet: Return FALSE if the requested URL exists and the url array size is NULL. 2007-10-23 12:24:49 +02:00
Juan Lang 681a408aa6 cryptnet: Implement CryptRetrieveObjectByUrlW for the file: protocol. 2007-10-23 12:24:43 +02:00
Juan Lang 1fbb0f6a5a cryptnet: Implement CryptRetrieveObjectByUrlA on top of CryptRetrieveObjectByUrlW. 2007-10-23 12:24:22 +02:00
Juan Lang 2fbefb6f75 cryptnet: Add stubs for CryptRetrieveObjectByUrlA/W. 2007-10-23 12:24:02 +02:00
Juan Lang 43bdf4e52d cryptnet: Partially implement CryptGetObjectUrl. 2007-10-19 12:30:03 +02:00
Juan Lang 016a26ddae cryptnet: Add stub for CryptGetObjectUrl. 2007-10-19 12:28:17 +02:00
Juan Lang 6d431c7337 cryptnet: Add CertDllVerifyRevocation stub. 2007-10-19 12:28:10 +02:00
Juan Lang 4009ed30bc cryptnet: Implement DllRegisterServer/DllUnregisterServer. 2007-10-19 12:28:03 +02:00
Alexandre Julliard 69a88a9d40 Fix minor differences in the formatting of the license notices. 2007-05-04 12:08:15 +02:00
Michael Stefaniuc 41dd56cb7f "One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int. 2006-09-29 16:09:24 +02:00
Maarten Lankhorst d2ee3872e3 cryptnet: Implement a stub cryptnet dll. 2006-06-29 14:41:51 +02:00