summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/asn1.h
diff options
context:
space:
mode:
authortb <>2023-07-28 10:30:16 +0000
committertb <>2023-07-28 10:30:16 +0000
commite2147417de87aad6ba65ecc032ecbc394ba9b139 (patch)
treebed307ec2023eb715c5a9083f129a7d671153bc5 /src/lib/libcrypto/asn1/asn1.h
parent3c8d1e1cf9bb15a3ea986b0fa3f53d33663d6c55 (diff)
downloadopenbsd-e2147417de87aad6ba65ecc032ecbc394ba9b139.tar.gz
openbsd-e2147417de87aad6ba65ecc032ecbc394ba9b139.tar.bz2
openbsd-e2147417de87aad6ba65ecc032ecbc394ba9b139.zip
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 'src/lib/libcrypto/asn1/asn1.h')
-rw-r--r--src/lib/libcrypto/asn1/asn1.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h
index bef5cb4808..51fb2862cd 100644
--- a/src/lib/libcrypto/asn1/asn1.h
+++ b/src/lib/libcrypto/asn1/asn1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1.h,v 1.78 2023/07/28 10:02:11 tb Exp $ */ 1/* $OpenBSD: asn1.h,v 1.79 2023/07/28 10:30:16 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 *
@@ -576,8 +576,6 @@ extern const ASN1_ITEM ASN1_BIT_STRING_it;
576int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length); 576int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length);
577int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value); 577int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value);
578int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n); 578int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n);
579int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a,
580 const unsigned char *flags, int flags_len);
581 579
582#ifndef OPENSSL_NO_BIO 580#ifndef OPENSSL_NO_BIO
583int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, 581int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs,