aboutsummaryrefslogtreecommitdiff
path: root/src/test/test-memwipe.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-02-19 11:49:20 -0500
committerNick Mathewson <nickm@torproject.org>2019-02-19 11:49:20 -0500
commit4bc55ed5ee5aefa1d86aca34bc5bfba2f24086f3 (patch)
treeb68fd182624f15e2047ea975dfee53098e6381b7 /src/test/test-memwipe.c
parentb5f3a3d6a76ffd7727833c2b1901629c9f23a99d (diff)
parent4417ac880a7f1306574365fd9cf4da2a41ac14ef (diff)
downloadtor-4bc55ed5ee5aefa1d86aca34bc5bfba2f24086f3.tar.gz
tor-4bc55ed5ee5aefa1d86aca34bc5bfba2f24086f3.zip
Merge branch 'bug29145_029' into maint-0.4.0
Diffstat (limited to 'src/test/test-memwipe.c')
-rw-r--r--src/test/test-memwipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c
index 15e6a03d8a..43754ed1c2 100644
--- a/src/test/test-memwipe.c
+++ b/src/test/test-memwipe.c
@@ -47,7 +47,8 @@ const char *s = NULL;
#ifdef OpenBSD
/* Disable some of OpenBSD's malloc protections for this test. This helps
* us do bad things, such as access freed buffers, without crashing. */
-const char *malloc_options="sufjj";
+extern const char *malloc_options;
+const char *malloc_options = "sufjj";
#endif
static unsigned