Clean up X509_VERIFY_PARAM_add0_policy()
authortb <tb@openbsd.org>
Fri, 29 Mar 2024 04:45:15 +0000 (04:45 +0000)
committertb <tb@openbsd.org>
Fri, 29 Mar 2024 04:45:15 +0000 (04:45 +0000)
commit6602a2998f4cc8475b15a048d5302446c29ead80
tree7bd694501262ffd54b29d16635ca7c9839d8305b
parent4efebcfa6f9b44a8b3476be1fdaacbec5ee5c99e
Clean up X509_VERIFY_PARAM_add0_policy()

Streamline some checks and use more idiomatic sk_push() error check

ok jsing
lib/libcrypto/x509/x509_vpm.c