commit 1a194beb2c01999e08010b44c279cbaaeeadf86c
parent a56b9501f1b7a13f4c73d41bba7fde80de7fd5b7
Author: teor <teor@torproject.org>
Date: Wed, 27 Feb 2019 09:37:50 +1000
Merge branch 'maint-0.3.3' into maint-0.3.4
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/changes/bug29145 b/changes/bug29145
@@ -0,0 +1,3 @@
+ o Minor bugfixes (compilation, testing):
+ - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes
+ bug 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c
@@ -42,7 +42,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