summaryrefslogtreecommitdiff
path: root/src/lib/libc/string
diff options
context:
space:
mode:
authortb <>2024-04-17 13:56:36 +0000
committertb <>2024-04-17 13:56:36 +0000
commit99a43012a8f0a03ed1e849715108514314388aea (patch)
tree5a0cd526f5d7652bc3fc0b24e5c29aac7e7e13a9 /src/lib/libc/string
parent6fbacb82c0b080050ecaf737025ed8fb0d79f203 (diff)
downloadopenbsd-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/libc/string')
0 files changed, 0 insertions, 0 deletions