diff options
author | tb <> | 2023-07-28 10:02:11 +0000 |
---|---|---|
committer | tb <> | 2023-07-28 10:02:11 +0000 |
commit | 8d8ca2c8c440c1df72455fe4055627e4110c3973 (patch) | |
tree | 1367f561dd03f95b820968cb0b6444737ae3cb13 /src/lib/libcrypto/asn1/asn1.h | |
parent | f0045e366b4be4794ddf9c7123b1bb43169d83ea (diff) | |
download | openbsd-8d8ca2c8c440c1df72455fe4055627e4110c3973.tar.gz openbsd-8d8ca2c8c440c1df72455fe4055627e4110c3973.tar.bz2 openbsd-8d8ca2c8c440c1df72455fe4055627e4110c3973.zip |
Remove ASN1_bn_print() and ASN1_buf_print()
ASN1_bn_print() is a hilariously bad API that was replaced with a saner
interface internally. ASN1_buf_print() isn't terrible, but it is too
specialized to be of real use. It was only exposed because ASN1_bn_print()
was already there. Its only use had been in the EdDSA printing code before
it was replaced with an internal helper.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1.h')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index fbc5d098d8..bef5cb4808 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.77 2023/07/28 09:58:30 tb Exp $ */ | 1 | /* $OpenBSD: asn1.h,v 1.78 2023/07/28 10:02:11 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 | * |
@@ -834,9 +834,6 @@ int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a); | |||
834 | int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a); | 834 | int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a); |
835 | int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v); | 835 | int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v); |
836 | int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags); | 836 | int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags); |
837 | int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, | ||
838 | unsigned char *buf, int off); | ||
839 | int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int indent); | ||
840 | int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent); | 837 | int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent); |
841 | int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent, int dump); | 838 | int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent, int dump); |
842 | #endif | 839 | #endif |