CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/03/31 07:00:58
Modified files:
lib/libcrypto/ec: ec_asn1.c
Log message:
Simplify priv_key handling in d2i_ECPrivateKey()
d2i_EC_PRIVATEKEY() can handle the allocation of priv_key internally,
no need to do this up front and reach it through the dangerous reuse
mechanism. There's also no point in freeing a variable we know to be
NULL.
ok jsing
