summaryrefslogtreecommitdiff
path: root/lib/libcrypto/objects
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-08-17 09:28:44 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-08-17 09:28:44 +0000
commitff4f771d99669be1ee93401ef13fdcd088206a26 (patch)
treea668313eb995efc612ecddb2e215d1a0297212c8 /lib/libcrypto/objects
parentb5bc289bfa4f6f2e640209b4fa8c99ed1a7639e2 (diff)
Garbage collect two commented abort()
Diffstat (limited to 'lib/libcrypto/objects')
-rw-r--r--lib/libcrypto/objects/obj_dat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/objects/obj_dat.c b/lib/libcrypto/objects/obj_dat.c
index df6ad56546e..9c4c3179f38 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.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;
}
}