diff options
author | tb <> | 2023-08-17 09:27:43 +0000 |
---|---|---|
committer | tb <> | 2023-08-17 09:27:43 +0000 |
commit | f1dba826946322d3006880a858a33e6a3babb83b (patch) | |
tree | 0662f7a9a2ef19b21a45dfbae547401cc3a445e3 | |
parent | 7fef557d4f0c081b01c5b7a57a48cb114483d26d (diff) | |
download | openbsd-f1dba826946322d3006880a858a33e6a3babb83b.tar.gz openbsd-f1dba826946322d3006880a858a33e6a3babb83b.tar.bz2 openbsd-f1dba826946322d3006880a858a33e6a3babb83b.zip |
Make the local ASN1_OBJECTs const
ok jsing
-rw-r--r-- | src/lib/libcrypto/objects/obj_dat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c index cd9db11c76..df6ad56546 100644 --- a/src/lib/libcrypto/objects/obj_dat.c +++ b/src/lib/libcrypto/objects/obj_dat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: obj_dat.c,v 1.58 2023/08/17 09:26:09 tb Exp $ */ | 1 | /* $OpenBSD: obj_dat.c,v 1.59 2023/08/17 09:27:43 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -178,7 +178,7 @@ static IMPLEMENT_LHASH_HASH_FN(added_obj, ADDED_OBJ) | |||
178 | static int | 178 | static int |
179 | added_obj_cmp(const ADDED_OBJ *ca, const ADDED_OBJ *cb) | 179 | added_obj_cmp(const ADDED_OBJ *ca, const ADDED_OBJ *cb) |
180 | { | 180 | { |
181 | ASN1_OBJECT *a, *b; | 181 | const ASN1_OBJECT *a, *b; |
182 | int cmp; | 182 | int cmp; |
183 | 183 | ||
184 | if ((cmp = ca->type - cb->type) != 0) | 184 | if ((cmp = ca->type - cb->type) != 0) |