diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-03-17 09:48:15 +0100 |
---|---|---|
committer | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-03-18 22:27:56 +0100 |
commit | 1ff2c992c24c330c0d40708b4169b862563d6aab (patch) | |
tree | 75f3abfdcc07033e021f3e6a6ec5c66e596ffe3b /crypto/ec | |
parent | 5743d1268d455859ed94be8749c4aaac6333c01b (diff) |
Clear the secret point in ecdh_simple_compute_key
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8501)
Diffstat (limited to 'crypto/ec')
-rw-r--r-- | crypto/ec/ecdh_ossl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ecdh_ossl.c b/crypto/ec/ecdh_ossl.c index 40a564fb14..b63cab9d91 100644 --- a/crypto/ec/ecdh_ossl.c +++ b/crypto/ec/ecdh_ossl.c @@ -112,7 +112,7 @@ int ecdh_simple_compute_key(unsigned char **pout, size_t *poutlen, ret = 1; err: - EC_POINT_free(tmp); + EC_POINT_clear_free(tmp); if (ctx) BN_CTX_end(ctx); BN_CTX_free(ctx); |