summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_ossl.c
diff options
context:
space:
mode:
authortb <>2024-04-17 13:56:36 +0000
committertb <>2024-04-17 13:56:36 +0000
commit71e12eb0cbe012187ce9401ccb21cff4d2fc54fb (patch)
tree5a0cd526f5d7652bc3fc0b24e5c29aac7e7e13a9 /src/lib/libcrypto/dsa/dsa_ossl.c
parentd7938609b3ffb15270f768a54e69b8c014b5824f (diff)
downloadopenbsd-71e12eb0cbe012187ce9401ccb21cff4d2fc54fb.tar.gz
openbsd-71e12eb0cbe012187ce9401ccb21cff4d2fc54fb.tar.bz2
openbsd-71e12eb0cbe012187ce9401ccb21cff4d2fc54fb.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_ossl.c')
0 files changed, 0 insertions, 0 deletions