diff options
author | tb <> | 2024-04-17 13:56:36 +0000 |
---|---|---|
committer | tb <> | 2024-04-17 13:56:36 +0000 |
commit | 99a43012a8f0a03ed1e849715108514314388aea (patch) | |
tree | 5a0cd526f5d7652bc3fc0b24e5c29aac7e7e13a9 /src/lib/libcrypto/dsa/dsa_lib.c | |
parent | 6fbacb82c0b080050ecaf737025ed8fb0d79f203 (diff) | |
download | openbsd-99a43012a8f0a03ed1e849715108514314388aea.tar.gz openbsd-99a43012a8f0a03ed1e849715108514314388aea.tar.bz2 openbsd-99a43012a8f0a03ed1e849715108514314388aea.zip |
ecdh_cms_encrypt: simplify setting the KDF type
It is much simpler to avoid the key_type variable altogether and inline
its use. Also it makes no sense to have 15 unrelated lines between the
getting of the kdf type, checking its content, and then actually setting
it to EVP_PKEY_ECDH_KDF_X9_63.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_lib.c')
0 files changed, 0 insertions, 0 deletions