[wallet] Securely erase potentially sensitive keys/values

This commit is contained in:
Thomas Snider
2017-03-23 14:07:51 -07:00
parent e2b99b1313
commit 6c914ac176
2 changed files with 22 additions and 20 deletions

View File

@@ -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