From: tb Date: Mon, 28 Nov 2022 07:50:47 +0000 (+0000) Subject: Garbage collect the unused asn1_add_error() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6644e3f0af25d5ac9cd7e9055f9cf1bd806ebe4e;p=openbsd Garbage collect the unused asn1_add_error() ok jsing --- diff --git a/lib/libcrypto/asn1/a_string.c b/lib/libcrypto/asn1/a_string.c index 7a6ef97751b..d0e917b8717 100644 --- a/lib/libcrypto/asn1/a_string.c +++ b/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) {