summaryrefslogtreecommitdiff
path: root/lib/libcrypto/asn1/asn1.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-07-28 10:30:17 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-07-28 10:30:17 +0000
commit6c60649355b8bd5fb2f160d8578adc229f3e43d1 (patch)
treee56fb80d752ad7f03102bab6f04214bce4fd5705 /lib/libcrypto/asn1/asn1.h
parentab03334f7ceb91469c7363cf0ce874be709af4c5 (diff)
Remove ASN1_BIT_STRING_check
This was added with the TS code for no discernible reason. I could not find a single consumer. In the unlikely event that you need this, it is easy enough to write a better version of it yourself. ok jsing
Diffstat (limited to 'lib/libcrypto/asn1/asn1.h')
-rw-r--r--lib/libcrypto/asn1/asn1.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/asn1/asn1.h b/lib/libcrypto/asn1/asn1.h
index bef5cb48085..51fb2862cdf 100644
--- a/lib/libcrypto/asn1/asn1.h
+++ b/lib/libcrypto/asn1/asn1.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asn1.h,v 1.78 2023/07/28 10:02:11 tb Exp $ */
+/* $OpenBSD: asn1.h,v 1.79 2023/07/28 10:30:16 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -576,8 +576,6 @@ extern const ASN1_ITEM ASN1_BIT_STRING_it;
int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length);
int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value);
int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n);
-int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a,
- const unsigned char *flags, int flags_len);
#ifndef OPENSSL_NO_BIO
int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs,