Here is a test for memwipe.

It invokes undefined behavior, I'm afraid, since there's no other
c-legal way to test whether memwipe() works when we're not allowed to
look at it.

Closes ticket 15377.
This commit is contained in:
Nick Mathewson
2015-03-19 15:28:22 -04:00
parent 98c3942162
commit e82e600d6e
3 changed files with 217 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
o Testing:
- Add a test to verify that the compiler does not eliminate our
memwipe() implementation. Closes ticket 15377.