From a63de23e1f0e03f20ea5ec136638a8ce4d3c09d2 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 13 May 2018 15:35:46 +0000 Subject: Add const to the ASN1_OBJECT argument of TS_TST_INFO_get_ext_by_OBJ(3). Should have been part of the previous commit. Omission noted by schwarze. tested in bulk build by sthen ok jsing --- src/lib/libcrypto/ts/ts_rsp_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/ts/ts_rsp_utils.c') diff --git a/src/lib/libcrypto/ts/ts_rsp_utils.c b/src/lib/libcrypto/ts/ts_rsp_utils.c index 5638331d17..233df867ac 100644 --- a/src/lib/libcrypto/ts/ts_rsp_utils.c +++ b/src/lib/libcrypto/ts/ts_rsp_utils.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ts_rsp_utils.c,v 1.6 2017/01/29 17:49:23 beck Exp $ */ +/* $OpenBSD: ts_rsp_utils.c,v 1.7 2018/05/13 15:35:46 tb Exp $ */ /* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL * project 2002. */ @@ -398,7 +398,7 @@ TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos) } int -TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, ASN1_OBJECT *obj, int lastpos) +TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, const ASN1_OBJECT *obj, int lastpos) { return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos); } -- cgit v1.2.3-55-g6feb