Simplify X509v3_get_ext() and X509v3_delete_ext()
authortb <tb@openbsd.org>
Fri, 12 Jul 2024 08:46:45 +0000 (08:46 +0000)
committertb <tb@openbsd.org>
Fri, 12 Jul 2024 08:46:45 +0000 (08:46 +0000)
commit3f19b19214d149497dbd4fb5201fbbeaa134cdf0
treefc5fb9b0f6d49f648bd9cf44fd589e6ad1d09d90
parent3e1246eecfad0f9853c81a09d2b6624e8fd3f331
Simplify X509v3_get_ext() and X509v3_delete_ext()

Drop unnecessary checks that are part of the stack API.

ok jsing
lib/libcrypto/x509/x509_v3.c