diff options
| author | Thomas Snider <[email protected]> | 2017-03-23 14:07:51 -0700 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2017-06-05 22:58:24 +0000 |
| commit | 28b8b8b6038c45ce2dc2e7dc11f88dc834ddd19a (patch) | |
| tree | 36a2a6a8006540b13357890a65fc078e7371241f /src/support | |
| parent | [wallet] Make sure pindex is non-null before possibly referencing in LogPrint... (diff) | |
| download | discoin-28b8b8b6038c45ce2dc2e7dc11f88dc834ddd19a.tar.xz discoin-28b8b8b6038c45ce2dc2e7dc11f88dc834ddd19a.zip | |
[wallet] Securely erase potentially sensitive keys/values
Github-Pull: #10308
Rebased-From: 6c914ac176624468c66febdb1ad0e24ff2118a5f
Diffstat (limited to 'src/support')
| -rw-r--r-- | src/support/cleanse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/support/cleanse.h b/src/support/cleanse.h index 3e02aa8fd..f020216c7 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 |