Fix X509_get_extension_flags()
authortb <tb@openbsd.org>
Thu, 21 Apr 2022 04:24:51 +0000 (04:24 +0000)
committertb <tb@openbsd.org>
Thu, 21 Apr 2022 04:24:51 +0000 (04:24 +0000)
commit8ed36ed2bac086885e3e4e881f0ccdae91bf6df7
tree2e2d2da06f157e54812427266c3086aae1da476b
parent62a898711a550b624affce487b4c9065fb6a7f25
Fix X509_get_extension_flags()

Ensure that EXFLAG_INVALID is set on X509_get_purpose() failure.

ok inoguchi jsing
lib/libcrypto/x509/x509_purp.c