[openssl] OpenSSL_1_1_1-stable update
Matt Caswell
matt at openssl.org
Mon Sep 16 13:44:17 UTC 2019
The branch OpenSSL_1_1_1-stable has been updated
via 94ae5d82833a534e05bb61feea9ad4a765fad502 (commit)
from 9f8deee2437085a366d16d47352d0e63dae78f4a (commit)
- Log -----------------------------------------------------------------
commit 94ae5d82833a534e05bb61feea9ad4a765fad502
Author: ManishPatidar1 <mann.patidar at gmail.com>
Date: Mon Sep 9 19:02:56 2019 +0530
clearing the ecx private key memory
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9830)
(cherry picked from commit 6ef03ea98fac501e6d6e33bac6ad3c92ea074712)
-----------------------------------------------------------------------
Summary of changes:
crypto/ec/ecx_meth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/ec/ecx_meth.c b/crypto/ec/ecx_meth.c
index c87419b5db..55429642fd 100644
--- a/crypto/ec/ecx_meth.c
+++ b/crypto/ec/ecx_meth.c
@@ -191,7 +191,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;
}
More information about the openssl-commits
mailing list