diff options
| author | beck <> | 2023-04-28 08:43:18 +0000 | 
|---|---|---|
| committer | beck <> | 2023-04-28 08:43:18 +0000 | 
| commit | f0302e34c9ddc146532ee39b23afbd914de8376f (patch) | |
| tree | 92c3c8c2a8efdcf4178b9a803fc9270d920b35e0 | |
| parent | 99bbeeffde7d5e98e7ffdcc985ba52011661ce73 (diff) | |
| download | openbsd-f0302e34c9ddc146532ee39b23afbd914de8376f.tar.gz openbsd-f0302e34c9ddc146532ee39b23afbd914de8376f.tar.bz2 openbsd-f0302e34c9ddc146532ee39b23afbd914de8376f.zip | |
This test should not have V_EXPLICIT_POLICY set.  with this
corrected we pass
Diffstat (limited to '')
| -rw-r--r-- | src/regress/lib/libcrypto/x509/policy/policy.c | 4 | 
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 | 
