summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cryptlib.c
diff options
context:
space:
mode:
authortb <>2024-01-04 17:08:57 +0000
committertb <>2024-01-04 17:08:57 +0000
commit00a41f70d8c4e3330ec5ea9a908795fa95756a7f (patch)
treea0f102a32e600023cb2524ee331f4273178138b4 /src/lib/libcrypto/cryptlib.c
parent28fd80a9189b82d0223c35153f8ed6f9cfb59161 (diff)
downloadopenbsd-00a41f70d8c4e3330ec5ea9a908795fa95756a7f.tar.gz
openbsd-00a41f70d8c4e3330ec5ea9a908795fa95756a7f.tar.bz2
openbsd-00a41f70d8c4e3330ec5ea9a908795fa95756a7f.zip
Simplify EVP_PKEY_asn1_find()
EVP_PKEY_asn1_find() finds the EVP_PKEY_ASN1_METHOD underlying the method or alias with nid (or, rather, pkey_id) passed in. Now that we have the base method stored in a pointer, we can return that method after a simple lookup of said nid (or, rather, pkey_id). ok jsing
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions