summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-07-08 00:43:15 +0200
committerRich Salz <rsalz@openssl.org>2016-07-25 14:20:00 +0200
commitdbf89a9b94b1ad813370577388b5ac692499a51f (patch)
tree1b266cface461b3188ffd50344b90235ef5c7261 /crypto/asn1
parentConstify ASN1_TYPE_get, ASN1_STRING_type, ASN1_STRING_to_UTF8, ASN1_TYPE_get_... (diff)
downloadopenssl-dbf89a9b94b1ad813370577388b5ac692499a51f.tar.xz
openssl-dbf89a9b94b1ad813370577388b5ac692499a51f.zip
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 'crypto/asn1')
-rw-r--r--crypto/asn1/t_pkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/t_pkey.c b/crypto/asn1/t_pkey.c
index 7a570ee823..3b2c9df891 100644
--- a/crypto/asn1/t_pkey.c
+++ b/crypto/asn1/t_pkey.c
@@ -18,7 +18,7 @@
/* Maximum indent */
#define ASN1_PRINT_MAX_INDENT 128
-int ASN1_buf_print(BIO *bp, unsigned char *buf, size_t buflen, int indent)
+int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int indent)
{
size_t i;