Commit Graph

99 Commits

Author SHA1 Message Date
Juan Lang 5618fdb3df crypt32: Fix test failures on NT4. 2008-02-16 13:51:44 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Francois Gouget c69d47fa49 crypt32/tests: Get the tests running on Windows 98. 2007-11-20 16:45:02 +01:00
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 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
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 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 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 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 b82bfa3455 crypt32: Test authority key identifier with a multi-byte id to show that its byte-order is swapped and fix encoding and decoding it. 2007-08-14 12:29:51 +02:00
Francois Gouget f045243542 crypt32/tests: Fix compilation on systems that don't support nameless unions. 2007-08-08 15:32:03 +02:00
Juan Lang c98f605b0e crypt32: Test encoding a cert with a subject key identifier extension. 2007-08-03 12:36:36 +02:00
Juan Lang 0c5772dc0a crypt32: Test encoding a cert with a public key. 2007-08-03 12:36:16 +02:00
Juan Lang 44948c3b38 crypt32: Implement decoding OID and directory name alt name entries. 2007-08-03 12:29:47 +02:00
Juan Lang 9194d60061 crypt32: Test encoding/decoding a couple more alt name entry types. 2007-08-03 12:28:40 +02:00
Juan Lang c58cb379eb crypt32: Test and fix encoding and decoding of attributes in PKCS signers. 2007-07-26 12:35:05 +02:00
Juan Lang 8dcd9e4279 crypt32: Fix decoding sequences with extra trailing data. 2007-07-16 13:39:35 +02:00
Juan Lang 01685bca0e crypt32: Add test showing extra trailing bytes should be tolerated in encoded data. 2007-07-16 13:39:24 +02:00
Juan Lang 678fb8ac14 crypt32: Introduce an algorithm id encoding function that encodes missing parameters as NULL
and use it to match native encoding (and simplify PKCS signer tests).
2007-07-13 14:39:40 +02:00
Juan Lang 68b052057b crypt32: Use skip to avoid failures where support is missing. 2007-07-02 13:32:28 +02:00
Francois Gouget fe40b2d85f crypt32/tests: Fix compilation on systems that don't support nameless unions. 2007-06-18 13:36:48 +02:00
Francois Gouget 021c4dba17 crypt32: Add missing '\n' to ok() call. 2007-06-14 13:54:45 +02:00
Juan Lang d1ac9c73f6 crypt32: Implement PKCS7_SIGNER_INFO encoding/decoding. 2007-06-13 11:56:20 +02:00
Juan Lang e1f83a7abf crypt32: Implement PKCS_ATTRIBUTES encoding/decoding. 2007-06-13 11:55:57 +02:00
Juan Lang 97f2c658fd crypt32: Implement PKCS_ATTRIBUTE encoding/decoding. 2007-06-13 11:54:36 +02:00
Juan Lang 1cd9510be0 crypt32: Implement PKCS_CONTENT_INFO encoding/decoding. 2007-06-13 11:53:47 +02:00
Juan Lang 2d00a4f0f5 crypt32: Implement CERT_AUTHORITY_KEY_ID2_INFO encoding/decoding. 2007-06-13 11:53:36 +02:00
Francois Gouget 4bc31a962a crypt32/tests: Replace some '#if 0's with 'if (0)'s. 2007-01-08 12:08:55 +01:00
Andrew Talbot fa8b971c2e crypt32/tests: Cast-qual warnings fix. 2006-12-08 11:39:00 +01:00
Alexandre Julliard 6a9222fc39 Fixed some printf warnings caused by using sizeof. 2006-10-12 14:58:25 +02:00
Juan Lang 353cd81c9a crypt32/tests: Win64 printf format warning fixes. 2006-10-02 14:40:14 +02:00
Juan Lang 9153d39cda crypt32: Encode/decode authority key ids. 2006-09-27 09:40:50 +02:00
Juan Lang c3702346bc crypt32: Test decoding a big CRL. 2006-09-21 11:15:57 +02:00
Alexandre Julliard 8e06fc4c0d crypt32: Comment out an unreliable test. 2006-09-12 14:45:48 +02:00
Alexandre Julliard 4bbcaad249 crypt32/tests: Avoid sizeof in traces. 2006-08-25 18:37:38 +02:00
Andrew Talbot 198bdd422f crypt32/tests: Write-strings warnings fix. 2006-08-14 11:44:34 +02:00
Andrew Talbot 2c23192704 crypt32/tests: Write-strings warnings fix. 2006-07-28 12:32:48 +02:00
Juan Lang 8ccbdb801e crypt32: Implement X509_UNICODE_NAME encoding/decoding. 2006-07-27 12:10:45 +02:00