summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/pmeth_lib.c
diff options
context:
space:
mode:
authorjsing <>2022-11-09 18:17:16 +0000
committerjsing <>2022-11-09 18:17:16 +0000
commitd43c65a247b804bf29ddd3fbb217000c30629dea (patch)
tree27d5254f556ec63ebc9686b04bbeff73d8b6c622 /src/lib/libcrypto/evp/pmeth_lib.c
parent7a1b9a55578a33a31ff0de239cefb3a1b5a06696 (diff)
downloadopenbsd-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