artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45d9c5e
)
Garbage collect the unused asn1_add_error()
author
tb
<tb@openbsd.org>
Mon, 28 Nov 2022 07:50:47 +0000
(07:50 +0000)
committer
tb
<tb@openbsd.org>
Mon, 28 Nov 2022 07:50:47 +0000
(07:50 +0000)
ok jsing
lib/libcrypto/asn1/a_string.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/asn1/a_string.c
b/lib/libcrypto/asn1/a_string.c
index
7a6ef97
..
d0e917b
100644
(file)
--- a/
lib/libcrypto/asn1/a_string.c
+++ b/
lib/libcrypto/asn1/a_string.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: a_string.c,v 1.1
2 2022/11/26 16:08:50
tb Exp $ */
+/* $OpenBSD: a_string.c,v 1.1
3 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)
{