artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
812e19b
)
Garbage collect two commented abort()
author
tb
<tb@openbsd.org>
Thu, 17 Aug 2023 09:28:43 +0000
(09:28 +0000)
committer
tb
<tb@openbsd.org>
Thu, 17 Aug 2023 09:28:43 +0000
(09:28 +0000)
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
df6ad56
..
9c4c317
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.
59 2023/08/17 09:27
:43 tb Exp $ */
+/* $OpenBSD: obj_dat.c,v 1.
60 2023/08/17 09:28
:43 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-166,7
+166,6
@@
added_obj_hash(const ADDED_OBJ *ca)
ret = a->nid;
break;
default:
- /* abort(); */
return 0;
}
ret &= 0x3fffffffL;
@@
-204,7
+203,6
@@
added_obj_cmp(const ADDED_OBJ *ca, const ADDED_OBJ *cb)
case ADDED_NID:
return a->nid - b->nid;
default:
- /* abort(); */
return 0;
}
}