Simplify OBJ_ln2nid()
authortb <tb@openbsd.org>
Wed, 13 Dec 2023 23:34:45 +0000 (23:34 +0000)
committertb <tb@openbsd.org>
Wed, 13 Dec 2023 23:34:45 +0000 (23:34 +0000)
commitdc45ccdd493bdb5add28acebec9138fb5498b14e
tree2dee00b7a94b594e1a9b8f4c04b7b3dc10dc03e2
parent63389b84bb2f07ee2229256566de65ff419ed203
Simplify OBJ_ln2nid()

This is s/sn/ln/g of the previous commit and eliminates another
OBJ_bsearch_() user, the last one in this file. The bsearch() uses
in this file are possibly the only ones that actually make sense
since we're searching tables of roughly 1000 entries.

ok jsing
lib/libcrypto/objects/obj_dat.c