diff options
author | tb <> | 2023-12-31 07:10:50 +0000 |
---|---|---|
committer | tb <> | 2023-12-31 07:10:50 +0000 |
commit | 850cfd14a73bc8203fe1ccd89465af1b7bbedf69 (patch) | |
tree | b67ab2a9271b85b97d7399af3b6372543e9fef0e /src/lib/libcrypto/evp/p_lib.c | |
parent | 8350a24e768be84631d7d3db83fd1853cff59bcb (diff) | |
download | openbsd-850cfd14a73bc8203fe1ccd89465af1b7bbedf69.tar.gz openbsd-850cfd14a73bc8203fe1ccd89465af1b7bbedf69.tar.bz2 openbsd-850cfd14a73bc8203fe1ccd89465af1b7bbedf69.zip |
Replace the sorted extensions lookup with a switch
If all you have is OBJ_bsearch_(), everything looks like a nail. This
changes a binary search over a list of 12 elements with a lookup via
a switch.
switch suggested by claudio
ok jsing
Diffstat (limited to 'src/lib/libcrypto/evp/p_lib.c')
0 files changed, 0 insertions, 0 deletions