diff options
author | tb <> | 2024-01-13 11:12:32 +0000 |
---|---|---|
committer | tb <> | 2024-01-13 11:12:32 +0000 |
commit | e1d9607d09fa3bd0137fb1cdc25ef0d35056755d (patch) | |
tree | 1d0d3014d5a1c67e1005627f9e1d12882bc1f6c8 /src/lib/libcrypto/crypto_init.c | |
parent | ce175ea71c55a0f97153dd4dc707826abc1242e7 (diff) | |
download | openbsd-e1d9607d09fa3bd0137fb1cdc25ef0d35056755d.tar.gz openbsd-e1d9607d09fa3bd0137fb1cdc25ef0d35056755d.tar.bz2 openbsd-e1d9607d09fa3bd0137fb1cdc25ef0d35056755d.zip |
Reimplement EVP_get_{cipher,digest}byname()
Instead of a hashtable lookup do a bsearch() over the static table.
This needs about the same number of strcmp and is a lot simpler.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/crypto_init.c')
0 files changed, 0 insertions, 0 deletions