Commit Graph

355 Commits

Author SHA1 Message Date
Juan Lang 4c981e20ef crypt32: Fix another leak in tests. 2007-11-09 12:24:46 +01:00
Juan Lang f6bfa45970 crypt32: Fix a couple leaks in test. 2007-11-09 12:24:40 +01:00
Juan Lang c5d5c5b63a crypt32: Fail decoding a CRL entry if the serial number is empty. 2007-11-08 11:49:49 +01:00
Juan Lang 571d75187a crypt32: Fix a leak. 2007-11-08 11:49:37 +01:00
Juan Lang e94cae61a1 crypt32: Fix a leaked key. 2007-11-02 12:22:31 +01:00
Juan Lang b9e78cc637 crypt32: Initialize a variable. 2007-11-02 12:22:10 +01:00
Juan Lang 373e9f626a crypt32: Fix another leak in the tests. 2007-11-02 12:21:29 +01:00
Juan Lang 9429504c70 crypt32: Fix a leak in the tests. 2007-11-02 12:21:23 +01:00
Juan Lang 8170acfc35 crypt32: Remove iTunes chain from certificate policy tests, there's no guarantee the root cert is trusted. 2007-10-26 12:46:30 +02:00
Juan Lang 8240395073 crypt32: Remove a test because of a Windows 2003 SP1 bug. 2007-10-26 12:46:30 +02:00
Juan Lang 5928c698ae crypt32: Implement CertVerifyRevocation. 2007-10-24 12:33:32 +02:00
Juan Lang 3b85a7946e crypt32: Add basic test for CertVerifyRevocation. 2007-10-24 12:33:24 +02:00
Juan Lang dbefd907b6 crypt32: Remove tests that cause memory corruption. 2007-10-22 12:36:07 +02:00
Juan Lang d8fb290ee1 crypt32: Fix a couple leaked messages. 2007-10-19 14:21:59 +02:00
Juan Lang e857f383a4 crypt32: Implement I_CertUpdateStore. 2007-10-19 14:18:20 +02:00
Juan Lang 542af8aeeb crypt32: Add tests for I_CertUpdateStore. 2007-10-19 14:18:13 +02:00
Juan Lang ad514dbc20 crypt32: Add basic tests for CryptGetDefaultOIDFunctionAddress. 2007-10-18 13:18:08 +02:00
Francois Gouget 3265f2d7c4 crypt32/tests: Fix compilation on systems that don't support nameless unions. 2007-10-15 14:05:08 +02:00
Juan Lang 9908fe9ac6 crypt32: Implement name constraint checking. 2007-10-11 22:23:58 +02:00
Juan Lang c57a084882 crypt32: Implement name constraints decoding. 2007-10-11 22:23:13 +02:00
Juan Lang 436a4a283b crypt32: Allow either NULL or empty strings where one or the other is expected. 2007-10-11 22:22:55 +02:00
Juan Lang 942fb6c3eb crypt32: Implement name constraint encoding. 2007-10-11 22:22:33 +02:00
Juan Lang ade18ff33c crypt32: Test encoding/decoding name constraints. 2007-10-11 22:22:25 +02:00
Juan Lang a5de2742e7 crypt32: Add another test to show that time validity nesting isn't checked. 2007-10-11 22:22:17 +02:00
Juan Lang 0d544f9510 crypt32: Remove superficially different certificates. 2007-10-11 22:22:10 +02:00
Juan Lang e6dbb9d203 crypt32: Allow imprecision of one millisecond in time decoding to fix test failures on Windows. 2007-10-11 22:22:01 +02:00
Marcus Meissner 7689953404 crypt32/tests: Fixed buffer overflow in encode test. 2007-10-09 17:52:46 +02:00
Juan Lang 6021eef5c9 crypt32: Print values of failing time tests. 2007-10-09 12:34:35 +02:00
Juan Lang 57240ddd05 crypt32: Remove some tests that fail inconsistently on Windows.
Reported by Steven Edwards.
2007-10-09 12:34:35 +02:00
Juan Lang 9abd47ca7a crypt32: Add tests for CertGetValidUsages. 2007-10-05 10:29:28 +02:00
Juan Lang 15cab33041 crypt32: Implement opening file name stores from files that contain PKCS7 messages. 2007-10-01 12:32:20 +02:00
Juan Lang 71b5ba0336 crypt32: Implement streamed encoding of an indefinite-length data message. 2007-09-19 11:40:44 +02:00
Juan Lang 9c4c856fde crypt32: Explicitly count bytes to copy in DecodeCopyBytes. 2007-09-18 11:57:41 +02:00
Juan Lang 7e475b4a77 crypt32: Test and correct decoding indefinite-length-encoded PKCS content. 2007-09-18 11:57:33 +02:00
Juan Lang 5d168bd4c0 crypt32: Support indefinite-length encoded arrays. 2007-09-18 11:54:10 +02:00
Juan Lang 15b19f1d16 crypt32: Add a test of an indefinite-length sequence. 2007-09-18 11:52:09 +02:00
Juan Lang f0add11007 crypt32: Make chain tests more strict. 2007-09-12 11:33:11 +02:00
Juan Lang 039beff441 crypt32: Implement CertVerifyCertificateChainPolicy for the basic constraints policy. 2007-09-11 12:36:41 +02:00
Juan Lang 5f06293eb1 crypt32: Implement CertVerifyCertificateChainPolicy for the authenticode policy. 2007-09-11 12:36:34 +02:00
Juan Lang b56f0c5b68 crypt32: Implement CertVerifyCertificateChainPolicy for the base policy. 2007-09-11 12:36:27 +02:00
Juan Lang f23ec30534 crypt32: Add initial tests for CertVerifyCertificateChainPolicy. 2007-09-11 12:36:15 +02:00
Juan Lang 5e674f3580 crypt32: Consider alternate issuers when building chains. 2007-09-10 15:50:01 +02:00
Juan Lang dfd2d3d9bc crypt32: Don't abort chain creation if the root signature isn't valid. 2007-09-10 15:49:38 +02:00
Juan Lang 5b02947937 crypt32: Add special case for certificates with no signature algorithm. 2007-09-10 15:49:31 +02:00
Juan Lang d82f3f37a2 crypt32: Remove a misplaced todo_wine. 2007-09-10 15:49:24 +02:00
Juan Lang 31618f91dd crypt32: Test whether chain creation should fail when a root signature is invalid. 2007-09-10 15:49:07 +02:00
Juan Lang 818634d69a crypt32: Not finding an issuer shouldn't cause chain creation to fail. 2007-09-10 15:48:49 +02:00
Juan Lang 8698a598fc crypt32: Don't add end cert's store to world. 2007-09-10 15:48:43 +02:00
Juan Lang 192ed7353d crypt32: Test that the end cert in a chain's store isn't implicitly searched for issuers. 2007-09-10 15:48:15 +02:00
Juan Lang 6aa03fc4c3 crypt32: Add more tests for getting issuer cert from store.
Show that certificates are added to memory stores at the head rather
than the tail.
2007-09-10 15:48:10 +02:00