CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2023/08/10 09:05:28

Modified files:
        lib/libcrypto/rsa: rsa_ameth.c 

Log message:
Fix a leak in rsa_pub_encode()

rsa_param_encode() allocates the PSS parameters in an ASN1_STRING which
is leaked if any error occurs later in rsa_pub_encode(). Convert the rest
of the code to follow our ordinary idioms more closely.

ok jsing

Reply via email to