Commit Graph

109 Commits

Author SHA1 Message Date
Juan Lang f86ab49be2 crypt32: Initialize key spec correctly. 2012-05-31 12:37:21 +02:00
Juan Lang 1a03839bf0 crypt32/tests: Add more tests for CertCreateSelfSignCertificate. 2012-05-31 12:37:21 +02:00
Juan Lang 6ccdbab6c8 crypt32: Don't fail if HCRYPTPROV and PCRYPT_KEY_PROV_INFO parameters are both non-NULL. 2012-05-31 12:37:20 +02:00
Juan Lang ecfa9b87a0 crypt32/tests: Add more tests of CertCreateSelfSignCertificate and the CERT_KEY_PROV_INFO parameter. 2012-05-31 12:37:20 +02:00
Juan Lang 03e409bbd2 crypt32/tests: Don't shadow a variable with a variable of a different type. 2012-05-31 12:37:19 +02:00
Juan Lang ad46dbd4cc crypt32/tests: Fix test failures on older NT4. 2012-02-13 13:09:45 +01:00
Juan Lang 441f7b6d9e crypt32: Test and correct CryptVerifyCertificateSignature. 2012-02-02 09:52:55 +01:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Juan Lang 546bfa2c1c crypt32: Test CertCreateCertificateContext, and fix an error code in a failure case. 2011-09-22 19:51:50 +02:00
Austin English 498d8738e3 crypt32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-17 18:33:42 +01:00
Austin English f900a8b035 crypt32/tests: Make sure to use return values (LLVM/Clang). 2011-02-10 09:57:12 -06:00
Juan Lang a4fe05a0f3 crypt32/tests: Test some return values (clang). 2011-01-31 17:58:07 +01:00
Juan Lang cdbf6e8614 crypt32/tests: Don't pass as a parameter a variable that could be local. 2009-12-07 09:49:07 +01:00
Juan Lang 6acd82fa79 crypt32: Correct AKI extension used in end certificate and CRL when checking revocation. 2009-12-04 12:01:16 +01:00
Juan Lang 865669eeb3 crypt32: Fix test failures on Win2k. 2009-12-03 10:11:54 +01:00
Juan Lang 9f5a554de0 crypt32: Correct AKI extension used in end certificate and CRL when checking revocation. 2009-12-02 12:18:02 +01:00
Juan Lang eee179206e crypt32/tests: Fix tests on Win9x/ME. 2009-11-21 14:31:44 +01:00
Juan Lang 27128bb2f8 crypt32: Add more tests for CertVerifyRevocation. 2009-11-20 11:14:00 +01:00
Paul Vriens 7f5b24ed91 crypt32/tests: Fix a test failure on older crypt32. 2009-11-18 15:34:14 +01:00
Juan Lang 440c702ce4 crypt32: Implement CertIsRDNAttrsInCertificateName. 2009-11-17 15:14:53 +01:00
Juan Lang ed74536f0c crypt32: Add tests for CertIsRDNAttrsInCertificateName. 2009-11-17 15:14:53 +01:00
Juan Lang 4a948fa929 crypt32: Add more tests for CertCompareCertificateName. 2009-11-17 15:14:53 +01:00
Marcus Meissner c25753ece2 crypt32: Pass the correct pointer into CertificateFindStore. 2009-11-09 20:21:23 +01:00
Juan Lang f554669286 crypt32: Implement CryptGetIntendedKeyUsage. 2009-11-04 13:07:56 +01:00
Juan Lang 6ac162231b crypt32: Add tests for CertGetIntendedKeyUsage. 2009-11-04 13:07:55 +01:00
Juan Lang 1e424138fe crypt32: Implement CryptFindCertificateInStore for unicode strings. 2009-10-20 14:00:35 +02:00
Juan Lang af4b5303ba crypt32: Test CertFindCertificateStore for finding Unicode strings. 2009-10-20 14:00:35 +02:00
Ge van Geldorp d20d492914 crypt32/tests: Fix cert test on Win7. 2009-09-22 20:20:04 +02:00
Paul Vriens c7105f82ee crypt32/tests: Fix a test failure on Win9x. 2009-06-24 11:27:42 +02:00
Paul Vriens e2715a6152 crypt32/tests: Fix some tests (logical || with non-zero constant). 2009-06-23 11:47:23 +02:00
Francois Gouget df4d664582 crypt32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-24 16:57:27 +01:00
Juan Lang 11faf8a53a crypt32: Fix some test failures on Windows 98.
This is as much an experiment as anything.  The tests currently time
out, so I'm curious whether fixing some other failures will result in
the timeout going away, or at least moving elsewhere.
2009-02-13 13:34:45 +01:00
Juan Lang 44e7d7b682 crypt32: Move test for duplicating a NULL cert to existing function. 2009-01-30 11:44:18 +01:00
Paul Vriens 8218518695 crypt32: Fix CertDuplicateCertificateContext for a passed NULL context. 2009-01-29 14:31:10 +01:00
Michael Stefaniuc e1797a7367 crypt32/tests: Remove some superfluous pointer casts.
There is no need to cast the pointers passed to the penultimate
argument of the CryptDecodeObjectEx and CryptEncodeObjectEx functions
as those expect void pointers.
2009-01-12 13:05:09 +01:00
Alexandre Julliard 7181c38dcc crypt32/tests: Fix handle size in CERT_KEY_PROV_HANDLE_PROP_ID for Win64. 2009-01-05 15:44:37 +01:00
Juan Lang de2a187bb7 crypt32: Don't check for no data to decode in CryptDecodeObject{Ex}, doing so masks some errors. 2008-10-17 11:43:48 +02:00
Juan Lang ad1c1c6107 crypt32: Fix a test failure on Win98. 2008-10-16 11:22:11 +02:00
Detlef Riekenberg 846e613b87 crypt32/tests: Fix a test on win9x. 2008-10-13 12:03:05 +02:00
James Hawkins 5114d652d2 crypt32: Fix several failing tests in win9x. 2008-09-29 17:25:25 -05:00
James Hawkins 094545079c crypt32: Fix several failing tests in win9x. 2008-09-03 14:21:42 +02:00
James Hawkins f9b0620f9f crypt32: Fix a failing test in XP. 2008-08-29 13:21:57 +02:00
Juan Lang e763923b07 crypt32: Implement CERT_SIGNATURE_HASH_PROP_ID. 2008-08-19 12:20:18 +02:00
Juan Lang d8da3e83ff crypt32: Implement CryptHashToBeSigned. 2008-08-19 12:20:09 +02:00
Juan Lang b18919bef7 crypt32: Add tests for CryptHashToBeSigned. 2008-08-19 12:20:04 +02:00
Paul Vriens dc6fc6ad8c crypt32/tests: Use CryptAcquireContextA instead of CryptAcquireContextW. 2008-08-01 12:21:53 +02:00
Paul Vriens 6d33798265 crypt32/tests: Don't crash on some win9x boxes. 2008-07-31 13:03:28 +02:00
Michael Karcher c235656aeb crypt32: ComparePublicKeyInfo must ignore the leading zero. 2008-06-30 15:11:04 +02:00
Michael Karcher 8d4d7b267d crypt32: CertGetPublicKeyLength should check only cert encoding type.
pktextract calls CertGetPublicKeyLength with dwCertEncodingType
of X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, MSDN explicitly
allows it.
2008-05-26 17:59:20 +02:00
James Hawkins 99d3e4c92d crypt32: Remove tests for properties not present on all systems. 2008-04-21 12:12:36 +02:00