Michael Stefaniuc
207e70cdc9
crypt32/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-23 00:41:48 +02:00
Nikolay Sivov
6d3c0dc16a
crypt32/tests: Statically link to CertAddStoreToCollection().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 21:51:39 +02:00
Sebastian Lackner
818a1b14f2
crypt32/tests: Remove duplicate test.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 20:26:10 +09:00
Michael Stefaniuc
89569b4b34
crypt32/tests: Remove an unused assignment (PVS-Studio).
2015-03-04 21:50:39 +09:00
Bruno Jesus
7a40fdbf8c
crypt32: CertGetIssuerCertificateFromStore must return error for self-signed certificates.
2014-07-23 21:24:20 +02:00
Bruno Jesus
4a28977f38
crypt32: Fix conversion of multiple fields in CertStrToName.
2014-07-22 14:25:34 +02:00
Bruno Jesus
70ff9620a8
crypt32/tests: Add more tests related to certificates.
...
Thanks to Juan Lang for help.
2014-07-21 11:55:53 +02:00
Nikolay Sivov
fc8bf3c3b6
crypt32/tests: Fix some leaks (Valgrind).
2014-04-25 11:05:10 +02:00
Nikolay Sivov
c7a11f9ed6
crypt32/tests: Accept another error code on Win8.
2014-02-05 19:34:19 +01:00
Frédéric Delanoy
90d1e9471b
crypt32/tests: Constify some character strings.
2013-12-23 11:54:30 +01:00
Jacek Caban
f329de4df4
crypt32: Always return TRUE from CertFreeCertificateContext.
2013-10-18 11:34:01 +02:00
Jacek Caban
e7eeef49ff
crypt32: Added more cert duplicate and link tests.
2013-10-17 11:18:50 +02:00
Jacek Caban
c7d1082b4f
crypt32: Added new empty store type and use it for creating certificates with no store.
2013-10-14 17:26:14 +02:00
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