From: beck Date: Fri, 28 Apr 2023 08:43:18 +0000 (+0000) Subject: This test should not have V_EXPLICIT_POLICY set. with this X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=95cce6dbe567f91c49461c29460fa26611df7350;p=openbsd This test should not have V_EXPLICIT_POLICY set. with this corrected we pass --- diff --git a/regress/lib/libcrypto/x509/policy/policy.c b/regress/lib/libcrypto/x509/policy/policy.c index f5f2d42ddd6..20b661563b9 100644 --- a/regress/lib/libcrypto/x509/policy/policy.c +++ b/regress/lib/libcrypto/x509/policy/policy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: policy.c,v 1.3 2023/04/28 08:15:11 beck Exp $ */ +/* $OpenBSD: policy.c,v 1.4 2023/04/28 08:43:18 beck Exp $ */ /* * Copyright (c) 2020 Joel Sing * Copyright (c) 2020-2021 Bob Beck @@ -516,7 +516,6 @@ struct verify_cert_test verify_cert_tests[] = { .intermediate_file = CERTSDIR "/" "policy_intermediate_require2.pem", .leaf_file = CERTSDIR "/" "policy_leaf.pem", .policy_oid_to_check = OID3, - .verify_flags = X509_V_FLAG_EXPLICIT_POLICY, .want_chains = 1, }, { @@ -525,7 +524,6 @@ struct verify_cert_test verify_cert_tests[] = { .intermediate_file = CERTSDIR "/" "policy_intermediate.pem", .leaf_file = CERTSDIR "/" "policy_leaf_require1.pem", .policy_oid_to_check = OID3, - .verify_flags = X509_V_FLAG_EXPLICIT_POLICY, .want_chains = 1, }, // If multiple certificates specify the constraint, the more constrained value