summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa
diff options
context:
space:
mode:
authortb <>2024-04-17 13:47:18 +0000
committertb <>2024-04-17 13:47:18 +0000
commit26b3d8cb2b91c422c9cb25aa6091018ce4a951bd (patch)
tree61a30a0dc78b373cfd1193d021fab40a067f2835 /src/lib/libcrypto/dsa
parent2f4ab0ff6fa52f62a82dc4e35ee9fe7127be40a9 (diff)
downloadopenbsd-26b3d8cb2b91c422c9cb25aa6091018ce4a951bd.tar.gz
openbsd-26b3d8cb2b91c422c9cb25aa6091018ce4a951bd.tar.bz2
openbsd-26b3d8cb2b91c422c9cb25aa6091018ce4a951bd.zip
Fix error check in ecdh_cms_encrypt()
ASN1_TYPE_get() returns V_ASN1_* constants. Checking the return for NID_undef instead means that we actually check for V_ASN1_EOC, which makes absolutely no sense here. Clearly V_ASN1_UNDEF was intended. ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa')
0 files changed, 0 insertions, 0 deletions