aboutsummaryrefslogtreecommitdiff
path: root/src/test/test-memwipe.c
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2016-09-01 17:50:38 +0000
committerDavid Goulet <dgoulet@torproject.org>2017-02-03 09:37:39 -0500
commit27df23abb675ffeb198bf0c1cc85c4baed77a988 (patch)
tree9fcb0bbb384188f3be58409bcb7fe5f23cbc3a95 /src/test/test-memwipe.c
parent0f79fb51e5653cbc82a0066423c833cafb656542 (diff)
downloadtor-27df23abb675ffeb198bf0c1cc85c4baed77a988.tar.gz
tor-27df23abb675ffeb198bf0c1cc85c4baed77a988.zip
Use the standard OpenBSD preprocessor definition
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 21882448c3..d3f2dc0644 100644
--- a/src/test/test-memwipe.c
+++ b/src/test/test-memwipe.c
@@ -36,7 +36,7 @@ const char *s = NULL;
sum += (unsigned char)buf[i]; \
}
-#ifdef __OpenBSD__
+#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";