CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/04/17 07:47:18
Modified files:
lib/libcrypto/ec: ec_ameth.c
Log message:
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
