diff options
author | tb <> | 2024-04-17 13:47:18 +0000 |
---|---|---|
committer | tb <> | 2024-04-17 13:47:18 +0000 |
commit | 26b3d8cb2b91c422c9cb25aa6091018ce4a951bd (patch) | |
tree | 61a30a0dc78b373cfd1193d021fab40a067f2835 /src/lib/libssl | |
parent | 2f4ab0ff6fa52f62a82dc4e35ee9fe7127be40a9 (diff) | |
download | openbsd-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/libssl')
0 files changed, 0 insertions, 0 deletions