diff options
author | tb <> | 2022-11-28 07:50:47 +0000 |
---|---|---|
committer | tb <> | 2022-11-28 07:50:47 +0000 |
commit | 7a9f1540b595b77472c95f43edef1b405b590b5b (patch) | |
tree | 2bfba925d8825855cecd60af7ff21336c40634a2 | |
parent | 7691347e2fda8b7c237410d949d999ac011d4f51 (diff) | |
download | openbsd-7a9f1540b595b77472c95f43edef1b405b590b5b.tar.gz openbsd-7a9f1540b595b77472c95f43edef1b405b590b5b.tar.bz2 openbsd-7a9f1540b595b77472c95f43edef1b405b590b5b.zip |
Garbage collect the unused asn1_add_error()
ok jsing
-rw-r--r-- | src/lib/libcrypto/asn1/a_string.c | 8 |
1 files changed, 1 insertions, 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 @@ | |||
1 | /* $OpenBSD: a_string.c,v 1.12 2022/11/26 16:08:50 tb Exp $ */ | 1 | /* $OpenBSD: a_string.c,v 1.13 2022/11/28 07:50:47 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -199,12 +199,6 @@ ASN1_STRING_set0(ASN1_STRING *astr, void *data, int len) | |||
199 | astr->length = len; | 199 | astr->length = len; |
200 | } | 200 | } |
201 | 201 | ||
202 | void | ||
203 | asn1_add_error(const unsigned char *address, int offset) | ||
204 | { | ||
205 | ERR_asprintf_error_data("offset=%d", offset); | ||
206 | } | ||
207 | |||
208 | int | 202 | int |
209 | ASN1_STRING_length(const ASN1_STRING *astr) | 203 | ASN1_STRING_length(const ASN1_STRING *astr) |
210 | { | 204 | { |