Juan Lang [Wed, 21 Oct 2009 01:25:06 +0000 (18:25 -0700)]
crypt32: Check key usage during chain validation.
Juan Lang [Wed, 21 Oct 2009 01:05:08 +0000 (18:05 -0700)]
crypt32: Add tests for key usage in the base policy.
Juan Lang [Wed, 21 Oct 2009 01:02:20 +0000 (18:02 -0700)]
crypt32: Add key usage extension to non-root CA certs.
Juan Lang [Mon, 19 Oct 2009 19:02:34 +0000 (12:02 -0700)]
crypt32: Get CA flag from basic constraints extension of every cert in the chain.
Juan Lang [Wed, 21 Oct 2009 01:00:45 +0000 (18:00 -0700)]
crypt32: Check basic constraints extension for end certs too.
Juan Lang [Tue, 20 Oct 2009 20:33:15 +0000 (13:33 -0700)]
crypt32: Encode public keys with NULL parameters if they're empty (and make tests more restrictive).
Juan Lang [Tue, 20 Oct 2009 20:29:03 +0000 (13:29 -0700)]
crypt32: Use helper function to encode public keys for hashing.
This is necessary because the publicly callable form embeds the asn.1
NULL value when the parameters are empty, whereas the hash value
expects that it's missing.
Juan Lang [Tue, 20 Oct 2009 20:20:59 +0000 (13:20 -0700)]
crypt32: Add a helper function to encode a cert's public key.
Juan Lang [Tue, 20 Oct 2009 19:48:48 +0000 (12:48 -0700)]
crypt32: Set an output parameter on the success path.
Juan Lang [Tue, 20 Oct 2009 16:54:56 +0000 (09:54 -0700)]
crypt32: Fix duplicating a NULL CTL context.
Juan Lang [Tue, 20 Oct 2009 16:52:36 +0000 (09:52 -0700)]
crypt32: Fix duplicating a NULL CRL context.
Juan Lang [Fri, 16 Oct 2009 23:32:46 +0000 (16:32 -0700)]
crypt32: Implement CryptFindCertificateInStore for unicode strings.
Juan Lang [Fri, 16 Oct 2009 23:33:22 +0000 (16:33 -0700)]
crypt32: Test CertFindCertificateStore for finding Unicode strings.
Juan Lang [Mon, 19 Oct 2009 21:46:37 +0000 (14:46 -0700)]
crypt32/tests: Get rid of a couple of certs unneeded by a test.
Juan Lang [Mon, 19 Oct 2009 16:04:51 +0000 (09:04 -0700)]
crypt32: Add a safe default for unsupported critical extensions.
Francois Gouget [Sat, 17 Oct 2009 18:27:58 +0000 (20:27 +0200)]
crypt32: Fix compilation on systems that don't support nameless unions.
Juan Lang [Thu, 15 Oct 2009 18:52:25 +0000 (11:52 -0700)]
crypt32: Compare certificates in a consistent order.
Juan Lang [Thu, 15 Oct 2009 18:14:23 +0000 (11:14 -0700)]
crypt32: Avoid repeatedly decoding authority key id extensions when searching for a cert's issuer.
Juan Lang [Thu, 15 Oct 2009 17:54:09 +0000 (10:54 -0700)]
crypt32: Introduce a helper function to search for certificates that doesn't require recreating the search key for every certificate.
Juan Lang [Thu, 15 Oct 2009 17:46:44 +0000 (10:46 -0700)]
crypt32: Use helper function to search for certs.
Juan Lang [Thu, 15 Oct 2009 23:25:03 +0000 (16:25 -0700)]
crypt32: Explicitly pass pointers to blob arrays rather than relying on an invalid alignment assumption.
Juan Lang [Thu, 15 Oct 2009 23:23:17 +0000 (16:23 -0700)]
crypt32: Explicitly pass pointers to blob arrays rather than relying on an invalid alignment assumption.
Juan Lang [Thu, 15 Oct 2009 22:27:04 +0000 (15:27 -0700)]
crypt32: Fix an invalid alignment assumption decoding a subtree's maximum.
Juan Lang [Thu, 15 Oct 2009 22:12:40 +0000 (15:12 -0700)]
crypt32: Simplify CRYPT_AsnDecodeIntInternal.
Juan Lang [Thu, 15 Oct 2009 15:57:13 +0000 (08:57 -0700)]
crypt32: Don't pass CRYPT_DECODE_ALLOC_FLAG to array item decoders.
Juan Lang [Wed, 14 Oct 2009 20:09:10 +0000 (13:09 -0700)]
crypt32: Let CRYPT_AsnDecodeArray allocate memory for its callers.
Juan Lang [Wed, 14 Oct 2009 20:08:24 +0000 (13:08 -0700)]
crypt32: Allocate memory if requested in CRYPT_AsnDecodeArray.
Juan Lang [Wed, 14 Oct 2009 20:07:36 +0000 (13:07 -0700)]
crypt32: Rename CRYPT_AsnDecodeArrayNoAlloc to CRYPT_AsnDecodeArray, and pass a CRYPT_DECODE_PARA * to it so that it can allocate memory if requested.
Juan Lang [Wed, 14 Oct 2009 20:06:47 +0000 (13:06 -0700)]
crypt32: Decode enhanced key usages using CRYPT_AsnDecodeArrayNoAlloc.
Juan Lang [Wed, 14 Oct 2009 20:06:20 +0000 (13:06 -0700)]
crypt32: Decode CRL dist points using CRYPT_AsnDecodeArrayNoAlloc.
Juan Lang [Wed, 14 Oct 2009 20:05:44 +0000 (13:05 -0700)]
crypt32: Decode cert policies info using CRYPT_AsnDecodeArrayNoAlloc.
Juan Lang [Wed, 14 Oct 2009 20:05:13 +0000 (13:05 -0700)]
crypt32: Decode authority info access with CRYPT_AsnDecodeArrayNoAlloc.
Juan Lang [Wed, 14 Oct 2009 20:04:44 +0000 (13:04 -0700)]
crypt32: Decode unicode names using CRYPT_AsnDecodeArrayNoAlloc.
Juan Lang [Wed, 14 Oct 2009 20:04:22 +0000 (13:04 -0700)]
crypt32: Decode names using CRYPT_AsnDecodeArrayNoAlloc.
Juan Lang [Wed, 14 Oct 2009 20:03:25 +0000 (13:03 -0700)]
crypt32: Correct a sequence item size.
Juan Lang [Wed, 14 Oct 2009 20:02:53 +0000 (13:02 -0700)]
crypt32: Convert internal callers of CRYPT_AsnDecodeArray to call CRYPT_AsnDecodeArrayNoAlloc.
Juan Lang [Wed, 14 Oct 2009 20:02:18 +0000 (13:02 -0700)]
crypt32: Pass decode flags to CRYPT_AsnDecodeArrayNoAlloc.
Juan Lang [Wed, 14 Oct 2009 20:01:48 +0000 (13:01 -0700)]
crypt32: Further simplify calling CRYPT_AsnDecodeArrayNoAlloc.
Juan Lang [Wed, 14 Oct 2009 20:01:00 +0000 (13:01 -0700)]
crypt32: Let CRYPT_AsnDecodeArrayNoAlloc calculate array size rather than requiring every caller to do so.
Juan Lang [Wed, 14 Oct 2009 19:59:50 +0000 (12:59 -0700)]
crypt32: Simplify calling CRYPT_AsnDecodeArrayNoAlloc.
Juan Lang [Wed, 14 Oct 2009 19:58:49 +0000 (12:58 -0700)]
crypt32: Add array descriptor members describing offsets of outer structure.
Juan Lang [Wed, 14 Oct 2009 19:57:21 +0000 (12:57 -0700)]
crypt32: Simplify CRYPT_AsnDecodePKCSAttributes.
Juan Lang [Wed, 14 Oct 2009 19:56:38 +0000 (12:56 -0700)]
crypt32: Explicitly pass array pointer when decoding CTL entry attributes rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:56:03 +0000 (12:56 -0700)]
crypt32: Explicitly pass array pointer when decoding cert policy qualifiers rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:55:05 +0000 (12:55 -0700)]
crypt32: Explicitly pass array pointer when decoding basic constraints' subtrees rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:54:23 +0000 (12:54 -0700)]
crypt32: Explicitly pass array pointer when decoding policy qualifier notice numbers rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:53:33 +0000 (12:53 -0700)]
crypt32: Remove a redundant trace.
Juan Lang [Wed, 14 Oct 2009 19:52:59 +0000 (12:52 -0700)]
crypt32: Explicitly pass array pointer when decoding CTL extensions rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:52:14 +0000 (12:52 -0700)]
crypt32: Explicitly pass array pointer when decoding CTL entries rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:51:30 +0000 (12:51 -0700)]
crypt32: Explicitly pass array pointer when decoding CMS message signers rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:50:50 +0000 (12:50 -0700)]
crypt32: Simplify CRYPT_AsnDecodeDistPointName.
Juan Lang [Wed, 14 Oct 2009 19:49:49 +0000 (12:49 -0700)]
crypt32: Explicitly pass array pointer when decoding name constraints' excluded subtrees rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:49:13 +0000 (12:49 -0700)]
crypt32: Explicitly pass array pointer when decoding name constraints' permitted subtrees rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:48:38 +0000 (12:48 -0700)]
crypt32: Explicitly pass array pointer when decoding CMS message CRLs rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:48:03 +0000 (12:48 -0700)]
crypt32: Explicitly pass array pointer when decoding CMS message certs rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:47:27 +0000 (12:47 -0700)]
crypt32: Explicitly pass array pointer when decoding PKCS attribute values rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:46:53 +0000 (12:46 -0700)]
crypt32: Simplify CRYPT_AsnDecodeSMIMECapabilities.
Juan Lang [Wed, 14 Oct 2009 19:46:16 +0000 (12:46 -0700)]
crypt32: Let decoder helpers do more sanity checking.
Juan Lang [Wed, 14 Oct 2009 19:45:39 +0000 (12:45 -0700)]
crypt32: Simplify CRYPT_AsnDecodeExtensions.
Juan Lang [Wed, 14 Oct 2009 19:44:52 +0000 (12:44 -0700)]
crypt32: Explicitly pass array pointer when decoding CRL extensions rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:43:58 +0000 (12:43 -0700)]
crypt32: Explicitly pass array pointer when decoding CRL entry extensions rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:43:14 +0000 (12:43 -0700)]
crypt32: Explicitly pass array pointer when decoding cert extensions rather than assuming a particular alignment.
Juan Lang [Wed, 14 Oct 2009 19:42:24 +0000 (12:42 -0700)]
crypt32: Explicitly pass array pointer when decoding CRL entries rather than assuming a particular alignment.
Juan Lang [Fri, 9 Oct 2009 21:06:59 +0000 (14:06 -0700)]
crypt32: Pass pointer to structure rather than assuming a particular alignment.
Paul Vriens [Wed, 23 Sep 2009 07:08:45 +0000 (09:08 +0200)]
crypt32/tests: Fix a test failure on Vista and higher.
Ge van Geldorp [Tue, 15 Sep 2009 18:58:56 +0000 (20:58 +0200)]
crypt32/tests: Fix cert test on Win7.
Hans Leidekker [Tue, 22 Sep 2009 10:04:56 +0000 (12:04 +0200)]
crypt32: CertGetCertificateChain does not validate the size of the CERT_CHAIN_PARA structure.
Juan Lang [Mon, 14 Sep 2009 15:01:43 +0000 (08:01 -0700)]
crypt32: Implement retrieving the encoded signer of a decoded signed message.
Juan Lang [Wed, 9 Sep 2009 15:40:44 +0000 (08:40 -0700)]
crypt32: Fix potential buffer overruns in CertGetNameStringW.
Juan Lang [Wed, 9 Sep 2009 05:11:52 +0000 (22:11 -0700)]
crypt32: Implement CertGetNameStringW for CERT_NAME_URL_TYPE.
Juan Lang [Wed, 9 Sep 2009 05:11:40 +0000 (22:11 -0700)]
crypt32: Implement CertGetNameStringW for CERT_NAME_DNS_TYPE.
Juan Lang [Wed, 9 Sep 2009 05:11:27 +0000 (22:11 -0700)]
crypt32: Implement CertGetNameStringW for CERT_NAME_EMAIL_TYPE.
Juan Lang [Wed, 9 Sep 2009 05:11:12 +0000 (22:11 -0700)]
crypt32: Implement CertGetNameStringW for CERT_NAME_RDN_TYPE.
Juan Lang [Wed, 9 Sep 2009 05:10:53 +0000 (22:10 -0700)]
crypt32: Implement CertGetNameStringW for CERT_NAME_ATTR_TYPE.
Juan Lang [Wed, 9 Sep 2009 04:56:11 +0000 (21:56 -0700)]
crypt32: Further simplify CertGetNameStringW.
Juan Lang [Wed, 9 Sep 2009 04:55:47 +0000 (21:55 -0700)]
crypt32: Use a helper function to simplify CertGetNameStringW.
Juan Lang [Wed, 9 Sep 2009 04:55:26 +0000 (21:55 -0700)]
crypt32: Return an empty string from CertGetNameStringW if a name couldn't be found.
Juan Lang [Wed, 9 Sep 2009 04:06:28 +0000 (21:06 -0700)]
crypt32: Correct searching the alternate name in CertGetNameStringW if the main name doesn't contain an appropriate OID.
Juan Lang [Wed, 26 Aug 2009 15:56:55 +0000 (08:56 -0700)]
crypt32: Fix a test failure on Windows 7.
Ge van Geldorp [Tue, 25 Aug 2009 10:40:28 +0000 (12:40 +0200)]
crypt32/tests: Remove test that crashes on Win7.
André Hentschel [Wed, 12 Aug 2009 12:24:13 +0000 (14:24 +0200)]
crypt32: Update German translation.
Juan Lang [Mon, 10 Aug 2009 17:42:55 +0000 (10:42 -0700)]
crypt32: Don't free a certificate that hasn't been removed from its store.
Juan Lang [Tue, 4 Aug 2009 18:51:01 +0000 (11:51 -0700)]
crypt32: Fix leak on error path.
Spotted by Chris Ahrendt.
Ricardo Filipe [Wed, 15 Jul 2009 11:56:18 +0000 (04:56 -0700)]
crypt32: Update Portuguese translation and convert to UTF8.
Alexander Nicolaysen Sørnes [Sun, 12 Jul 2009 15:24:19 +0000 (17:24 +0200)]
crypt32: Update Norwegian Bokmål translation.
Hwang YunSong [Thu, 9 Jul 2009 07:04:31 +0000 (16:04 +0900)]
crypt32: Updated Korean resource.
Frédéric Delanoy [Tue, 7 Jul 2009 13:54:30 +0000 (15:54 +0200)]
crypt32: Update French translation.
Paul Chitescu [Mon, 6 Jul 2009 18:03:27 +0000 (21:03 +0300)]
crypt32: Updated Romanian translation.
André Hentschel [Mon, 6 Jul 2009 16:38:05 +0000 (18:38 +0200)]
crypt32: Update German translation.
Paul Vriens [Mon, 6 Jul 2009 16:03:50 +0000 (18:03 +0200)]
crypt32: Fix Dutch translations.
Paul Vriens [Mon, 6 Jul 2009 16:03:37 +0000 (18:03 +0200)]
crypt32: Improve an English resource.
Aurimas Fišeras [Thu, 2 Jul 2009 14:08:40 +0000 (17:08 +0300)]
crypt32: Add Lithuanian translation.
Paul Vriens [Sun, 5 Jul 2009 13:15:41 +0000 (15:15 +0200)]
crypt32: Make sure we show Unicode characters (Dutch translation).
Aurimas Fišeras [Sun, 5 Jul 2009 10:52:35 +0000 (13:52 +0300)]
crypt32: Add "Disallowed" to CryptFindLocalizedName.
Frédéric Delanoy [Thu, 2 Jul 2009 17:06:47 +0000 (19:06 +0200)]
crypt32: Update French translation.
Michael Stefaniuc [Tue, 30 Jun 2009 09:14:26 +0000 (11:14 +0200)]
crypt32: Build language resource files separately.
Instead of including them from an other rc file.
Paul Chitescu [Thu, 25 Jun 2009 13:56:50 +0000 (16:56 +0300)]
crypt32: Add Romanian translation.
Paul Vriens [Wed, 24 Jun 2009 06:32:49 +0000 (08:32 +0200)]
crypt32/tests: Fix some test failures on Win9x.
Paul Vriens [Wed, 24 Jun 2009 06:32:20 +0000 (08:32 +0200)]
crypt32/tests: Fix a test failure on Win9x.
Hans Leidekker [Tue, 23 Jun 2009 07:36:26 +0000 (09:36 +0200)]
crypt32: Add a partial implementation of CertCreateContext.