Further simplify X509_REQ_get_extensions()
authortb <tb@openbsd.org>
Thu, 9 May 2024 14:00:52 +0000 (14:00 +0000)
committertb <tb@openbsd.org>
Thu, 9 May 2024 14:00:52 +0000 (14:00 +0000)
commit61ded4a7c8f13f6609674a85244e3a70246b3f83
tree2da2a38bf6aee356f3edd9bfc00f4ae23ed50ac1
parentfb1affb8c0f01793ebac0aec1f84c91efc2d3685
Further simplify X509_REQ_get_extensions()

Instead of inlining a poor version of ASN1_TYPE_unpack_sequence() with
missing error checks, just call the real thing. It's safer and simpler.

ok jsing
lib/libcrypto/x509/x509_req.c