From 7a9f1540b595b77472c95f43edef1b405b590b5b Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 28 Nov 2022 07:50:47 +0000 Subject: Garbage collect the unused asn1_add_error() ok jsing --- src/lib/libcrypto/asn1/a_string.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/lib/libcrypto/asn1/a_string.c b/src/lib/libcrypto/asn1/a_string.c index 7a6ef97751..d0e917b871 100644 --- a/src/lib/libcrypto/asn1/a_string.c +++ b/src/lib/libcrypto/asn1/a_string.c @@ -1,4 +1,4 @@ -/* $OpenBSD: a_string.c,v 1.12 2022/11/26 16:08:50 tb Exp $ */ +/* $OpenBSD: a_string.c,v 1.13 2022/11/28 07:50:47 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -199,12 +199,6 @@ ASN1_STRING_set0(ASN1_STRING *astr, void *data, int len) astr->length = len; } -void -asn1_add_error(const unsigned char *address, int offset) -{ - ERR_asprintf_error_data("offset=%d", offset); -} - int ASN1_STRING_length(const ASN1_STRING *astr) { -- cgit v1.2.3-55-g6feb