crypt32/tests: Add a missing test case (PVS-Studio)
Michael Stefaniuc
mstefani at redhat.de
Wed Mar 4 02:08:19 CST 2015
---
Err'ing on the side of caution with security code...
dlls/crypt32/tests/chain.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c
index 36fc16a..2a26888 100644
--- a/dlls/crypt32/tests/chain.c
+++ b/dlls/crypt32/tests/chain.c
@@ -4508,6 +4508,8 @@ static void check_base_policy(void)
ignoredInvalidDateBasePolicyCheck, &oct2007, &policyPara);
policyPara.dwFlags = CERT_CHAIN_POLICY_ALLOW_UNKNOWN_CA_FLAG |
CERT_CHAIN_POLICY_IGNORE_WRONG_USAGE_FLAG;
+ CHECK_CHAIN_POLICY_STATUS(CERT_CHAIN_POLICY_BASE, NULL,
+ ignoredInvalidUsageBasePolicyCheck, &oct2007, &policyPara);
policyPara.dwFlags = CERT_CHAIN_POLICY_ALLOW_UNKNOWN_CA_FLAG |
CERT_CHAIN_POLICY_IGNORE_NOT_TIME_VALID_FLAG |
CERT_CHAIN_POLICY_IGNORE_WRONG_USAGE_FLAG;
--
1.9.3
More information about the wine-patches
mailing list