From 042a93e443732418df4714d217ccc0b35cdc4eb5 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 23 Oct 1999 09:30:09 +0000 Subject: Constification. --- crypto/asn1/a_utf8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/asn1/a_utf8.c') diff --git a/crypto/asn1/a_utf8.c b/crypto/asn1/a_utf8.c index 45434be..b5125af 100644 --- a/crypto/asn1/a_utf8.c +++ b/crypto/asn1/a_utf8.c @@ -100,9 +100,9 @@ ASN1_UTF8STRING *d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a, unsigned char **pp, * -4 = character encoded incorrectly (not minimal length). */ -int UTF8_getc(unsigned char *str, int len, unsigned long *val) +int UTF8_getc(const unsigned char *str, int len, unsigned long *val) { - unsigned char *p; + const unsigned char *p; unsigned long value; int ret; if(len <= 0) return 0; -- cgit v1.1