diff options
author | jsing <> | 2022-11-09 18:17:16 +0000 |
---|---|---|
committer | jsing <> | 2022-11-09 18:17:16 +0000 |
commit | d43c65a247b804bf29ddd3fbb217000c30629dea (patch) | |
tree | 27d5254f556ec63ebc9686b04bbeff73d8b6c622 /src/lib/libcrypto/evp/pmeth_lib.c | |
parent | 7a1b9a55578a33a31ff0de239cefb3a1b5a06696 (diff) | |
download | openbsd-d43c65a247b804bf29ddd3fbb217000c30629dea.tar.gz openbsd-d43c65a247b804bf29ddd3fbb217000c30629dea.tar.bz2 openbsd-d43c65a247b804bf29ddd3fbb217000c30629dea.zip |
Clean up EVP_PKEY_ASN1_METHOD related tables and code.
Rather than messing around with an OBJ_bsearch() for a table that contains
16 entries (and a stack find for any application added methods), simply do
a reverse linear scan. This maintains the application method first
behaviour, while removing a chunk of code.
While here rename some variables and do some style clean up.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/evp/pmeth_lib.c')
0 files changed, 0 insertions, 0 deletions