projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free cleanup almost the finale
[openssl.git]
/
crypto
/
ecdh
/
ech_lib.c
diff --git
a/crypto/ecdh/ech_lib.c
b/crypto/ecdh/ech_lib.c
index 7b57ec4ecdc5b9fd210780d59cb70302e247cad9..82f885099876bd26f671e380486c110e5c728a86 100644
(file)
--- a/
crypto/ecdh/ech_lib.c
+++ b/
crypto/ecdh/ech_lib.c
@@
-172,10
+172,7
@@
void ecdh_data_free(void *data)
#endif
CRYPTO_free_ex_data(CRYPTO_EX_INDEX_ECDH, r, &r->ex_data);
-
- OPENSSL_cleanse((void *)r, sizeof(ECDH_DATA));
-
- OPENSSL_free(r);
+ OPENSSL_clear_free((void *)r, sizeof(ECDH_DATA));
}
ECDH_DATA *ecdh_check(EC_KEY *key)