diff options
author | ManishPatidar1 <mann.patidar@gmail.com> | 2019-09-09 19:02:56 +0530 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-09-16 14:33:41 +0100 |
commit | 6ef03ea98fac501e6d6e33bac6ad3c92ea074712 (patch) | |
tree | 311afed603f55066c1b9834160387d8c883668e1 | |
parent | 1ce6044206a371680ea44219ea63dae2a1bba3d1 (diff) | |
download | openssl-6ef03ea98fac501e6d6e33bac6ad3c92ea074712.tar.gz |
clearing the ecx private key memory
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9830)
-rw-r--r-- | crypto/ec/ecx_meth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ecx_meth.c b/crypto/ec/ecx_meth.c index 75ea96754f..b88139218a 100644 --- a/crypto/ec/ecx_meth.c +++ b/crypto/ec/ecx_meth.c @@ -195,7 +195,7 @@ static int ecx_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) } rv = ecx_key_op(pkey, pkey->ameth->pkey_id, palg, p, plen, KEY_OP_PRIVATE); - ASN1_OCTET_STRING_free(oct); + ASN1_STRING_clear_free(oct); return rv; } |