Deassert X509_policy_check()
authortb <tb@openbsd.org>
Fri, 28 Apr 2023 15:27:15 +0000 (15:27 +0000)
committertb <tb@openbsd.org>
Fri, 28 Apr 2023 15:27:15 +0000 (15:27 +0000)
commit8f89bdfa9aabe95f91e32318296bc60eb8d614f8
tree3a418a1ef0ea123f43e5f32709c53d5cc319acdd
parent574a74f041dafe8a4d67e672bafbae3338f29221
Deassert X509_policy_check()

Instead of asserting that i == num_certs - 2, simply make that an error
check.

with beck
ok jsing
lib/libcrypto/x509/x509_policy.c