From b32b7334e82988558a84760f424f8dd93d902393 Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 25 Apr 2018 11:48:21 +0000 Subject: Add const to functions in asn1/asn1.h as they did in OpenSSL. BIO_f_asn1() will be taken care of later. Tested in a bulk by sthen ok bcook jca jsing --- src/lib/libcrypto/asn1/asn_pack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/asn1/asn_pack.c') diff --git a/src/lib/libcrypto/asn1/asn_pack.c b/src/lib/libcrypto/asn1/asn_pack.c index 09d150583a..1a5420e42b 100644 --- a/src/lib/libcrypto/asn1/asn_pack.c +++ b/src/lib/libcrypto/asn1/asn_pack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asn_pack.c,v 1.16 2017/01/29 17:49:22 beck Exp $ */ +/* $OpenBSD: asn_pack.c,v 1.17 2018/04/25 11:48:21 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -203,7 +203,7 @@ err: /* Extract an ASN1 object from an ASN1_STRING */ void * -ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it) +ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it) { const unsigned char *p; void *ret; -- cgit v1.2.3-55-g6feb