aboutsummaryrefslogtreecommitdiff
path: root/src/support/cleanse.h
diff options
context:
space:
mode:
authorThomas Snider <tjps636@gmail.com>2017-03-23 14:07:51 -0700
committerThomas Snider <tjps636@gmail.com>2017-05-03 11:35:51 -0700
commit6c914ac176624468c66febdb1ad0e24ff2118a5f (patch)
tree546c1239d37a4ab6fec953d1660ae4829310a97e /src/support/cleanse.h
parente2b99b13131b5d0fd6fae6d55892c2ebb327d438 (diff)
[wallet] Securely erase potentially sensitive keys/values
Diffstat (limited to 'src/support/cleanse.h')
-rw-r--r--src/support/cleanse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/support/cleanse.h b/src/support/cleanse.h
index 3e02aa8fd1..f020216c73 100644
--- a/src/support/cleanse.h
+++ b/src/support/cleanse.h
@@ -8,6 +8,7 @@
#include <stdlib.h>
+// Attempt to overwrite data in the specified memory span.
void memory_cleanse(void *ptr, size_t len);
#endif // BITCOIN_SUPPORT_CLEANSE_H