diff options
author | tb <> | 2024-04-17 13:47:18 +0000 |
---|---|---|
committer | tb <> | 2024-04-17 13:47:18 +0000 |
commit | ffae08269e45e016cb8157b48ea1a075eccf392c (patch) | |
tree | 61a30a0dc78b373cfd1193d021fab40a067f2835 /src/lib/libcrypto/dsa/dsa_key.c | |
parent | 9081df50fd54559141cf8c71929ca001ed031abc (diff) | |
download | openbsd-ffae08269e45e016cb8157b48ea1a075eccf392c.tar.gz openbsd-ffae08269e45e016cb8157b48ea1a075eccf392c.tar.bz2 openbsd-ffae08269e45e016cb8157b48ea1a075eccf392c.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/dsa_key.c')
0 files changed, 0 insertions, 0 deletions