aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-07-08 00:43:15 +0200
committerRich Salz <rsalz@openssl.org>2016-07-25 08:20:00 -0400
commitdbf89a9b94b1ad813370577388b5ac692499a51f (patch)
tree1b266cface461b3188ffd50344b90235ef5c7261 /include
parent08275a29c10b23a5f38597d58f823c3ccb9540ab (diff)
downloadopenssl-dbf89a9b94b1ad813370577388b5ac692499a51f.tar.gz
Constify ASN1_buf_print
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1300)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/asn1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/asn1.h b/include/openssl/asn1.h
index f1c00587a7..03fc21e7d5 100644
--- a/include/openssl/asn1.h
+++ b/include/openssl/asn1.h
@@ -752,7 +752,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_buf_print(BIO *bp, const 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);