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:
5743d12
)
Clear the secret point in ecdh_simple_compute_key
author
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Sun, 17 Mar 2019 08:48:15 +0000
(09:48 +0100)
committer
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Mon, 18 Mar 2019 21:27:56 +0000
(22:27 +0100)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8501)
crypto/ec/ecdh_ossl.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ecdh_ossl.c
b/crypto/ec/ecdh_ossl.c
index 40a564fb145b3e396eaaaacf757c963570871373..b63cab9d91670effc3f1f25fa4455026cd34049e 100644
(file)
--- 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);