Juan Lang
|
ee02d43731
|
crypt32: Correct error when a constrained, permitted name type isn't found in the subject name.
|
2009-11-10 13:08:31 +01:00 |
Juan Lang
|
2503e9ec73
|
crypt32: Use helper function to find the subject alternate name extension wherever it's needed.
|
2009-11-10 13:08:26 +01:00 |
Juan Lang
|
ae6e884142
|
crypt32: Correct error when the subject alternate name can't be decoded.
|
2009-11-10 13:08:20 +01:00 |
Juan Lang
|
865f3df35b
|
crypt32: Check the issued certificate for name constraint violations, not the issuing certificate.
|
2009-11-10 13:08:14 +01:00 |
Juan Lang
|
ef6ce9a590
|
crypt32: Add more tests of name constraints.
|
2009-11-10 13:08:06 +01:00 |
Juan Lang
|
a5361e45de
|
crypt32: Test more chains against different policies.
|
2009-11-10 13:07:35 +01:00 |
Juan Lang
|
25e8f27817
|
crypt32: Disallow embedded NULLs in alternate names.
|
2009-11-10 13:07:28 +01:00 |
Juan Lang
|
ddf78bdb38
|
crypt32: Test decoding alternate names with embedded NULLs.
|
2009-11-10 13:07:21 +01:00 |
Juan Lang
|
6a3901f04b
|
crypt32: Test encoding and decoding name values with embedded NULLs.
|
2009-11-10 13:07:15 +01:00 |
Juan Lang
|
216df7a714
|
crypt32: Reject certificates whose fields don't match their versions.
|
2009-11-10 13:07:07 +01:00 |
Juan Lang
|
9fe6be454f
|
crypt32: Forbid minimum or maximum fields in name constraints.
|
2009-11-10 13:07:00 +01:00 |
Juan Lang
|
e7404ba24f
|
crypt32: Fix decoding names when CRYPT_DECODE_ALLOC_FLAG is not specified.
|
2009-11-10 13:05:40 +01:00 |
Juan Lang
|
6cefdef501
|
crypt32: Fix decoding unicode names when CRYPT_DECODE_ALLOC_FLAG is not specified.
|
2009-11-10 13:05:35 +01:00 |
Marcus Meissner
|
c25753ece2
|
crypt32: Pass the correct pointer into CertificateFindStore.
|
2009-11-09 20:21:23 +01:00 |
Juan Lang
|
267e890220
|
crypt32: Fix test failures on Win9x/NT4.
|
2009-11-09 19:58:40 +01:00 |
Juan Lang
|
fbcce9f308
|
crypt32: Implement decoding cert policy constraints.
|
2009-11-09 19:58:34 +01:00 |
Juan Lang
|
32ad424972
|
crypt32: Implement encoding cert policy constraints.
|
2009-11-09 19:58:28 +01:00 |
Juan Lang
|
ae32f7bffc
|
crypt32: Add tests for encoding/decoding cert policy constraints.
|
2009-11-09 19:58:20 +01:00 |
Juan Lang
|
7e7e73d0da
|
crypt32: Implement decoding cert policy mappings.
|
2009-11-09 19:58:13 +01:00 |
Juan Lang
|
bf5e4d9bb7
|
crypt32: Implement encoding cert policy mappings.
|
2009-11-09 19:58:07 +01:00 |
Juan Lang
|
fba863ddf0
|
crypt32: Add tests for encoding/decoding cert policy mappings.
|
2009-11-09 19:57:59 +01:00 |
Juan Lang
|
ed9a4ffa0b
|
crypt32: Fix decoding cert issuer/subject unique ids.
|
2009-11-09 19:57:51 +01:00 |
Juan Lang
|
4ccafdcb6f
|
crypt32: Fix encoding cert issuer/subject unique ids.
|
2009-11-09 19:57:45 +01:00 |
Juan Lang
|
acfa433f15
|
crypt32: Add more tests of cert encoding/decoding.
|
2009-11-09 19:57:37 +01:00 |
Paul Chitescu
|
7223d8b6d2
|
crypt32: Check the result of CryptAcquireContextW() when initializing default provider.
|
2009-11-09 19:37:00 +01:00 |
Juan Lang
|
5274777b1c
|
crypt32: Permit lack of basic constraints extension on root certificates.
|
2009-11-09 19:34:36 +01:00 |
Juan Lang
|
d94e4d315a
|
crypt32: Permit lack of key usage extension on root certificates.
This reverts 60770fb011 , although it
updates the comments to give a reason. Thanks to Matt Van Gundy for
pointing it out to me.
|
2009-11-09 19:34:32 +01:00 |
Juan Lang
|
c52d110de1
|
crypt32: Don't free a file store's mem store, it's already freed by the provider store.
|
2009-11-05 11:57:58 +01:00 |
Juan Lang
|
a16ca1d039
|
crypt32: Add a warning if a store's ref count is invalid.
|
2009-11-05 11:57:47 +01:00 |
Juan Lang
|
88e599c4cf
|
crypt32: Don't copy past end of buffer when removing the last string in a multistring.
|
2009-11-05 11:57:41 +01:00 |
Juan Lang
|
e1b2eb3485
|
crypt32: Fix a test failure on NT 4.
|
2009-11-05 11:57:13 +01:00 |
Juan Lang
|
416cd484b2
|
crypt32: Implement CertStoreControl for collection stores.
|
2009-11-04 17:15:07 +01:00 |
Juan Lang
|
33c70d35dd
|
crypt32: Add an implementation of CertControlStore for memory stores.
|
2009-11-04 17:15:02 +01:00 |
Juan Lang
|
e6047ae52d
|
crypt32: Add tests of committing a collection store.
|
2009-11-04 17:14:53 +01:00 |
Juan Lang
|
f8376b91da
|
crypt32: Eliminate a double free in the tests.
|
2009-11-04 16:45:18 +01:00 |
Juan Lang
|
108f30bb7d
|
crypt32: Rename a function to reflect its behavior better, and return whether it succeeds.
|
2009-11-04 16:45:18 +01:00 |
Juan Lang
|
7e1cff1c18
|
crypt32: Release contexts when removing them from the mem store.
|
2009-11-04 16:45:18 +01:00 |
Juan Lang
|
df39bbba4f
|
crypt32: Don't delete a context when removing it from a list.
|
2009-11-04 16:45:18 +01:00 |
Juan Lang
|
787d0ab564
|
crypt32: Add an error if the ref count is invalid when releasing a context.
|
2009-11-04 16:45:18 +01:00 |
Juan Lang
|
1f363cd399
|
crypt32: Trace whenever a reference count changes, and change default debug channel to quiet the main crypt channel.
|
2009-11-04 16:45:18 +01:00 |
Juan Lang
|
17894eb093
|
crypt32: Release a link context's linked context on every release, not just when it reaches 0.
|
2009-11-04 16:45:17 +01:00 |
Juan Lang
|
52820b9cf8
|
crypt32: When creating a link context, call Context_AddRef to add-ref it so its children get add-ref'd too.
|
2009-11-04 16:45:17 +01:00 |
Juan Lang
|
5f81ad6821
|
crypt32: When add-ref'ing a context, add-ref its linked contexts too.
|
2009-11-04 16:45:17 +01:00 |
Juan Lang
|
fb5e0d8a4d
|
crypt32: When removing contexts from a list, make sure the context no longer references the list.
|
2009-11-04 16:45:17 +01:00 |
Juan Lang
|
976c6ff3f8
|
crypt32: Correct reference counting when deleting contexts from collections.
|
2009-11-04 16:45:17 +01:00 |
Juan Lang
|
92324ab38e
|
crypt32: Propagate errors from CertFree*Context to CertDelete*FromStore.
|
2009-11-04 16:45:17 +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
|
d8094382a8
|
crypt32: Implement CertAddEncodedCertificateToSystemStoreA/W.
|
2009-11-04 16:45:16 +01:00 |
Juan Lang
|
9364d7a928
|
crypt32: Add stub for CertAddCertificateLinkToStore.
|
2009-11-04 13:07:56 +01:00 |
Juan Lang
|
f554669286
|
crypt32: Implement CryptGetIntendedKeyUsage.
|
2009-11-04 13:07:56 +01:00 |