diff options
Diffstat (limited to 'src/test/test-memwipe.c')
-rw-r--r-- | src/test/test-memwipe.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c index 9e7dff5f63..43754ed1c2 100644 --- a/src/test/test-memwipe.c +++ b/src/test/test-memwipe.c @@ -1,15 +1,20 @@ -/* Copyright (c) 2015-2017, The Tor Project, Inc. */ +/* Copyright (c) 2015-2019, The Tor Project, Inc. */ /* See LICENSE for licensing information */ #include "orconfig.h" +#include "lib/crypt_ops/crypto_util.h" + +#include "lib/intmath/cmp.h" +#include "lib/malloc/malloc.h" + #include <string.h> #include <stdio.h> #include <sys/types.h> #include <stdlib.h> -#include "crypto_util.h" -#include "compat.h" -#include "util.h" +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif static unsigned fill_a_buffer_memset(void) __attribute__((noinline)); static unsigned fill_a_buffer_memwipe(void) __attribute__((noinline)); @@ -216,4 +221,3 @@ main(int argc, char **argv) return 0; } } - |