diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-01-27 14:34:36 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-02-05 00:33:33 +0000 |
commit | 26c255fcf875d0272349c1221780dcd7e67b5d61 (patch) | |
tree | ba4e930b776f0fa88c7648ec060e0b64aba7e27f /include | |
parent | d698550fb41c3fd1e5c4c8fc6bed37cd8931467d (diff) |
Add ASN1_buf_print to print a buffer in ASN1_bn_print format.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/asn1.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/asn1.h b/include/openssl/asn1.h index 63253d4e6c..360914d7d2 100644 --- a/include/openssl/asn1.h +++ b/include/openssl/asn1.h @@ -785,6 +785,7 @@ int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a); int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a); int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v); int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags); +int ASN1_buf_print(BIO *bp, unsigned char *buf, size_t buflen, int off); int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, unsigned char *buf, int off); int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent); |