Michael Stefaniuc : crypt32/tests: Add a missing test case (PVS-Studio).

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 4 09:22:16 CST 2015


Module: wine
Branch: master
Commit: 802c3f2e1f4f452542815ddaa31d79c4df82bb52
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=802c3f2e1f4f452542815ddaa31d79c4df82bb52

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Mar  4 09:08:19 2015 +0100

crypt32/tests: Add a missing test case (PVS-Studio).

---

 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;




More information about the wine-cvs mailing list