Replace OPENSSL_cleanse

This commit is contained in:
miodragpop
2020-11-03 20:01:06 +01:00
parent 3ae6205a9b
commit 239e5dfb7e
2 changed files with 27 additions and 3 deletions

View File

@@ -8,6 +8,8 @@
#include <stdlib.h>
/** Secure overwrite a buffer (possibly containing secret data) with zero-bytes. The write
* operation will not be optimized out by the compiler. */
void memory_cleanse(void *ptr, size_t len);
#endif // BITCOIN_SUPPORT_CLEANSE_H