artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0b039d
)
Make the local ASN1_OBJECTs const
author
tb
<tb@openbsd.org>
Thu, 17 Aug 2023 09:27:43 +0000
(09:27 +0000)
committer
tb
<tb@openbsd.org>
Thu, 17 Aug 2023 09:27:43 +0000
(09:27 +0000)
ok jsing
lib/libcrypto/objects/obj_dat.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/objects/obj_dat.c
b/lib/libcrypto/objects/obj_dat.c
index
cd9db11
..
df6ad56
100644
(file)
--- a/
lib/libcrypto/objects/obj_dat.c
+++ b/
lib/libcrypto/objects/obj_dat.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: obj_dat.c,v 1.5
8 2023/08/17 09:26:09
tb Exp $ */
+/* $OpenBSD: obj_dat.c,v 1.5
9 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)