aboutsummaryrefslogtreecommitdiff
path: root/src/test/test-memwipe.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-21 15:06:39 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-21 15:06:39 -0400
commit10b242822490c9873138565bcc8a3565a7dc7014 (patch)
treede8a078ebd031f7585b67649b67c82796330a705 /src/test/test-memwipe.c
parent6be0e28670517048ce3ab017911cd41238543a13 (diff)
parentb943cedf3485d0d00c739e69fd2bb16d4e959867 (diff)
downloadtor-10b242822490c9873138565bcc8a3565a7dc7014.tar.gz
tor-10b242822490c9873138565bcc8a3565a7dc7014.zip
Merge branch 'bug23291_028' into maint-0.3.1
Diffstat (limited to 'src/test/test-memwipe.c')
-rw-r--r--src/test/test-memwipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c
index d3f2dc0644..484f13dd05 100644
--- a/src/test/test-memwipe.c
+++ b/src/test/test-memwipe.c
@@ -82,7 +82,7 @@ static unsigned
check_a_buffer(void)
{
unsigned int i;
- volatile char buf[1024];
+ volatile char buf[BUF_LEN];
unsigned sum = 0;
/* See if this buffer has the string in it.