CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2024/04/13 08:02:51

Modified files:
        lib/libcrypto/dsa: dsa_ameth.c 
        lib/libcrypto/ec: ec_ameth.c 

Log message:
Error check X509_ALGOR_set0() in {dsa,ec}_pkey_ctrl()

These are four versions of near identical code: PKCS#7 and CMS controls
for DSA and EC. The checks are rather incomplete and should probably be
merged somehow (see the Ed25519 version in ecx_methods(). For now, only
replace X509_ALGOR_set0() with its internal by_nid() version and, while
there, spell NULL correctly.

ok jca

Reply via email to