From 812e19bfdb4a3178da647ffd7dd5dc9c506df4ce Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 17 Aug 2023 09:27:43 +0000 Subject: [PATCH] Make the local ASN1_OBJECTs const ok jsing --- lib/libcrypto/objects/obj_dat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/objects/obj_dat.c b/lib/libcrypto/objects/obj_dat.c index cd9db11c76e..df6ad56546e 100644 --- a/lib/libcrypto/objects/obj_dat.c +++ b/lib/libcrypto/objects/obj_dat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: obj_dat.c,v 1.58 2023/08/17 09:26:09 tb Exp $ */ +/* $OpenBSD: obj_dat.c,v 1.59 2023/08/17 09:27:43 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -178,7 +178,7 @@ static IMPLEMENT_LHASH_HASH_FN(added_obj, ADDED_OBJ) static int added_obj_cmp(const ADDED_OBJ *ca, const ADDED_OBJ *cb) { - ASN1_OBJECT *a, *b; + const ASN1_OBJECT *a, *b; int cmp; if ((cmp = ca->type - cb->type) != 0) -- 2.20.1