summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
authorbeck <>2023-04-28 08:43:18 +0000
committerbeck <>2023-04-28 08:43:18 +0000
commit0f5628b61aa524fcb0765685643996f70662d26b (patch)
tree92c3c8c2a8efdcf4178b9a803fc9270d920b35e0 /src/regress/lib
parentb1facd30ebc9043df21c1ebc4d94040bbe9a86f4 (diff)
downloadopenbsd-0f5628b61aa524fcb0765685643996f70662d26b.tar.gz
openbsd-0f5628b61aa524fcb0765685643996f70662d26b.tar.bz2
openbsd-0f5628b61aa524fcb0765685643996f70662d26b.zip
This test should not have V_EXPLICIT_POLICY set. with this
corrected we pass
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libcrypto/x509/policy/policy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/x509/policy/policy.c b/src/regress/lib/libcrypto/x509/policy/policy.c
index f5f2d42ddd..20b661563b 100644
--- a/src/regress/lib/libcrypto/x509/policy/policy.c
+++ b/src/regress/lib/libcrypto/x509/policy/policy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: policy.c,v 1.3 2023/04/28 08:15:11 beck Exp $ */ 1/* $OpenBSD: policy.c,v 1.4 2023/04/28 08:43:18 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2020 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2020-2021 Bob Beck <beck@openbsd.org> 4 * Copyright (c) 2020-2021 Bob Beck <beck@openbsd.org>
@@ -516,7 +516,6 @@ struct verify_cert_test verify_cert_tests[] = {
516 .intermediate_file = CERTSDIR "/" "policy_intermediate_require2.pem", 516 .intermediate_file = CERTSDIR "/" "policy_intermediate_require2.pem",
517 .leaf_file = CERTSDIR "/" "policy_leaf.pem", 517 .leaf_file = CERTSDIR "/" "policy_leaf.pem",
518 .policy_oid_to_check = OID3, 518 .policy_oid_to_check = OID3,
519 .verify_flags = X509_V_FLAG_EXPLICIT_POLICY,
520 .want_chains = 1, 519 .want_chains = 1,
521 }, 520 },
522 { 521 {
@@ -525,7 +524,6 @@ struct verify_cert_test verify_cert_tests[] = {
525 .intermediate_file = CERTSDIR "/" "policy_intermediate.pem", 524 .intermediate_file = CERTSDIR "/" "policy_intermediate.pem",
526 .leaf_file = CERTSDIR "/" "policy_leaf_require1.pem", 525 .leaf_file = CERTSDIR "/" "policy_leaf_require1.pem",
527 .policy_oid_to_check = OID3, 526 .policy_oid_to_check = OID3,
528 .verify_flags = X509_V_FLAG_EXPLICIT_POLICY,
529 .want_chains = 1, 527 .want_chains = 1,
530 }, 528 },
531 // If multiple certificates specify the constraint, the more constrained value 529 // If multiple certificates specify the constraint, the more constrained value