From f72d08156c2afabfd1c38468eca631a5afed0f79 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 28 Jul 2023 10:02:11 +0000 Subject: Remove ASN1_bn_print() and ASN1_buf_print() ASN1_bn_print() is a hilariously bad API that was replaced with a saner interface internally. ASN1_buf_print() isn't terrible, but it is too specialized to be of real use. It was only exposed because ASN1_bn_print() was already there. Its only use had been in the EdDSA printing code before it was replaced with an internal helper. ok jsing --- src/lib/libcrypto/hidden/openssl/asn1.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libcrypto/hidden') diff --git a/src/lib/libcrypto/hidden/openssl/asn1.h b/src/lib/libcrypto/hidden/openssl/asn1.h index e3095e0631..2a1eda1a89 100644 --- a/src/lib/libcrypto/hidden/openssl/asn1.h +++ b/src/lib/libcrypto/hidden/openssl/asn1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1.h,v 1.3 2023/07/28 09:58:30 tb Exp $ */ +/* $OpenBSD: asn1.h,v 1.4 2023/07/28 10:02:11 tb Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -208,8 +208,6 @@ LCRYPTO_USED(ASN1_GENERALIZEDTIME_print); LCRYPTO_USED(ASN1_TIME_print); LCRYPTO_USED(ASN1_STRING_print); LCRYPTO_USED(ASN1_STRING_print_ex); -LCRYPTO_USED(ASN1_bn_print); -LCRYPTO_USED(ASN1_buf_print); LCRYPTO_USED(ASN1_parse); LCRYPTO_USED(ASN1_parse_dump); LCRYPTO_USED(ASN1_tag2bit); -- cgit v1.2.3-55-g6feb