diff options
| author | tb <> | 2022-11-13 13:59:46 +0000 |
|---|---|---|
| committer | tb <> | 2022-11-13 13:59:46 +0000 |
| commit | 6d18be9a8cdfbbc5b8b7a817945b4c41cec7ddc1 (patch) | |
| tree | 447452fda16476151e8552e17f7c4135667b068f /src | |
| parent | 72c3dd25803856565ae56c4caf3a753322deba65 (diff) | |
| download | openbsd-6d18be9a8cdfbbc5b8b7a817945b4c41cec7ddc1.tar.gz openbsd-6d18be9a8cdfbbc5b8b7a817945b4c41cec7ddc1.tar.bz2 openbsd-6d18be9a8cdfbbc5b8b7a817945b4c41cec7ddc1.zip | |
Expose ASN1_buf_print() in asn1.h
This is needed to print the 32-byte Ed25519 keys which aren't handled
as BNs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/asn1/asn1.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index 24ba6a6668..fc1d4be02b 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.71 2022/11/10 13:09:34 jsing Exp $ */ | 1 | /* $OpenBSD: asn1.h,v 1.72 2022/11/13 13:59:46 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 | * |
| @@ -838,9 +838,7 @@ int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v); | |||
| 838 | int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags); | 838 | int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags); |
| 839 | int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, | 839 | int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, |
| 840 | unsigned char *buf, int off); | 840 | unsigned char *buf, int off); |
| 841 | #if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL) | ||
| 842 | int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int indent); | 841 | int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int indent); |
| 843 | #endif | ||
| 844 | int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent); | 842 | int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent); |
| 845 | int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent, int dump); | 843 | int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent, int dump); |
| 846 | #endif | 844 | #endif |
