summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cryptlib.c
diff options
context:
space:
mode:
authortb <>2023-12-13 23:31:25 +0000
committertb <>2023-12-13 23:31:25 +0000
commitf77fbcadfcd4c78f4e5e584aef01f5faf954f16a (patch)
treeedc7d812ffd27e941a8cb0e982ddfcc85c7536e9 /src/lib/libcrypto/cryptlib.c
parent5485638c7c81842ea6a037084beba5d59aec9ba4 (diff)
downloadopenbsd-f77fbcadfcd4c78f4e5e584aef01f5faf954f16a.tar.gz
openbsd-f77fbcadfcd4c78f4e5e584aef01f5faf954f16a.tar.bz2
openbsd-f77fbcadfcd4c78f4e5e584aef01f5faf954f16a.zip
Simplify OBJ_sn2nid()
Another OBJ_bsearch_() elimination. OBJ_sn2nid() is very similar to OBJ_obj2nid(). First it tries to retrieve an object identifier with matching "short name" from the global hash of added objects and then searches the table of built-in objects. ok jsing
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions