Skip to content
Commit 8b5424ea authored by Tomas Mraz's avatar Tomas Mraz
Browse files

eckey_priv_encode(): Call ASN1_STRING_free() only on an ASN1_STRING



Also ASN1_OBJECT_free() never needs to be called on objects returned
from OBJ_nid2obj().

Fixes #19138

Reviewed-by: default avatarDmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: default avatarPaul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19367)
parent 681c4619
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment