More consolidation of ASN.1 code.
authorjsing <jsing@openbsd.org>
Sat, 25 Dec 2021 12:00:22 +0000 (12:00 +0000)
committerjsing <jsing@openbsd.org>
Sat, 25 Dec 2021 12:00:22 +0000 (12:00 +0000)
commit0cd86ebd2386e14f0beeb08cd28963eabfb79a77
tree48bea7352c1d26ed0768d4c0035afdb3fd986df9
parent1f4e9e88ac79782db42ee32d9a37623f1a181512
More consolidation of ASN.1 code.

Consolidate various ASN1_item_* functions into asn1_item.c and the
remaining NO_OLD_ASN1 code (not to be confused with the NO_ASN1_OLD code)
into asn1_old.c. This is preferable to having many files, often with one
or two functions per file.

No functional change.

Discussed with tb@
lib/libcrypto/Makefile
lib/libcrypto/asn1/a_d2i_fp.c [deleted file]
lib/libcrypto/asn1/a_digest.c [deleted file]
lib/libcrypto/asn1/a_dup.c [deleted file]
lib/libcrypto/asn1/a_i2d_fp.c [deleted file]
lib/libcrypto/asn1/a_sign.c [deleted file]
lib/libcrypto/asn1/a_verify.c [deleted file]
lib/libcrypto/asn1/asn1_item.c [new file with mode: 0644]
lib/libcrypto/asn1/asn1_locl.h
lib/libcrypto/asn1/asn1_old.c [new file with mode: 0644]