diff options
author | tb <> | 2024-01-13 11:12:32 +0000 |
---|---|---|
committer | tb <> | 2024-01-13 11:12:32 +0000 |
commit | 0a0c4510c63b3ed05c4a35d0175ce78900516389 (patch) | |
tree | 1d0d3014d5a1c67e1005627f9e1d12882bc1f6c8 /src/lib/libcrypto/evp/c_all.c | |
parent | 9fffb87f5d35d0387d2fef05868f79d200d8a912 (diff) | |
download | openbsd-0a0c4510c63b3ed05c4a35d0175ce78900516389.tar.gz openbsd-0a0c4510c63b3ed05c4a35d0175ce78900516389.tar.bz2 openbsd-0a0c4510c63b3ed05c4a35d0175ce78900516389.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/evp/c_all.c')
0 files changed, 0 insertions, 0 deletions