aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/memwipe.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-12-17unit_tests: fix memwipe test comparisonmoneromooo-monero1-1/+1
free might overwrite the memory, so we can't expect to see the NULs we overwrote with, but at least we shouldn't see the original data.
2017-11-27add a memwipe functionmoneromooo-monero1-0/+64
It's meant to avoid being optimized out memory_cleanse lifted from bitcoin