diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-03-19 15:28:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-03-19 18:47:24 -0400 |
commit | e82e600d6edb04247d1fd15f1d4b340ef544736e (patch) | |
tree | b9c7f7c7647df84ca054ca361919d6bee355ce32 /changes | |
parent | 98c3942162831ddccea9dcf149d4c7f12b0a52a9 (diff) | |
download | tor-e82e600d6edb04247d1fd15f1d4b340ef544736e.tar.gz tor-e82e600d6edb04247d1fd15f1d4b340ef544736e.zip |
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.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/test-memwipe | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/test-memwipe b/changes/test-memwipe new file mode 100644 index 0000000000..04a21f75f1 --- /dev/null +++ b/changes/test-memwipe @@ -0,0 +1,3 @@ + o Testing: + - Add a test to verify that the compiler does not eliminate our + memwipe() implementation. Closes ticket 15377. |