Move the EVP_PKEY_asn1_* API that will stay to evp/p_lib.c
authortb <tb@openbsd.org>
Fri, 29 Dec 2023 10:59:00 +0000 (10:59 +0000)
committertb <tb@openbsd.org>
Fri, 29 Dec 2023 10:59:00 +0000 (10:59 +0000)
commit049ee4e232dfc75f92dcd0e54f31453ba154d906
treefcd71be9ca31a67abebf87e10800f8dc98fae59e
parent5a9d2561eca43c981119ad772b4426b0660ccd3e
Move the EVP_PKEY_asn1_* API that will stay to evp/p_lib.c

Most of these functions are only called from this file internally apart
from the pem_str lookups from pem/. In the next major bump we can then
remove asn/ameth_lib.c. Also move EVP_PKEY_ASN1_METHOD to evp_local.h.
While this is used to dispatch to various ASN.1 decoding routines, it
doesn't fit into asn1/ at all.
lib/libcrypto/asn1/ameth_lib.c
lib/libcrypto/asn1/asn1_local.h
lib/libcrypto/asn1/t_x509.c
lib/libcrypto/evp/evp_local.h
lib/libcrypto/evp/p_lib.c