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:
6555a89
)
Clear the secret point in ecdh_compute_key
author
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Sun, 17 Mar 2019 09:02:07 +0000
(10:02 +0100)
committer
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Sun, 17 Mar 2019 09:02:07 +0000
(10:02 +0100)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8502)
crypto/ecdh/ech_ossl.c
patch
|
blob
|
history
diff --git
a/crypto/ecdh/ech_ossl.c
b/crypto/ecdh/ech_ossl.c
index d3b05247fe37d068d259702d09a422646fd2764f..8b69ce5ba4dc2ab42c9430e7e08b3669f21262a8 100644
(file)
--- a/
crypto/ecdh/ech_ossl.c
+++ b/
crypto/ecdh/ech_ossl.c
@@
-207,7
+207,7
@@
static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
err:
if (tmp)
- EC_POINT_free(tmp);
+ EC_POINT_
clear_
free(tmp);
if (ctx)
BN_CTX_end(ctx);
if (ctx)