projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce6044
)
clearing the ecx private key memory
author
ManishPatidar1
<mann.patidar@gmail.com>
Mon, 9 Sep 2019 13:32:56 +0000
(19:02 +0530)
committer
Matt Caswell
<matt@openssl.org>
Mon, 16 Sep 2019 13:33:41 +0000
(14:33 +0100)
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9830)
crypto/ec/ecx_meth.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ecx_meth.c
b/crypto/ec/ecx_meth.c
index 75ea96754fdd52a4b3a8ba856fd6b13853233632..b88139218af076cdc525e9f061ac06b84c2e5997 100644
(file)
--- 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;
}