summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-11-05 11:38:29 +0100
committerRichard Levitte <levitte@openssl.org>2016-11-05 11:38:29 +0100
commitc76da13cd9a2b90d831903aa4378f754d9737f2a (patch)
tree4e1a8f923526a57879a18767ebf81a93bbc83c42 /test
parent3ee24d4acaff1c247db89c5cfcac17749dc3d7bc (diff)
constant time test: include our internal/numbers.h rather than limits.h
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1856)
Diffstat (limited to 'test')
-rw-r--r--test/constant_time_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/constant_time_test.c b/test/constant_time_test.c
index 41587e2089..e53a73b63a 100644
--- a/test/constant_time_test.c
+++ b/test/constant_time_test.c
@@ -9,12 +9,12 @@
#include "internal/constant_time_locl.h"
#include "e_os.h"
-#include <openssl/e_os2.h>
-#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
+#include "internal/numbers.h"
+
static const unsigned int CONSTTIME_TRUE = (unsigned)(~0);
static const unsigned int CONSTTIME_FALSE = 0;
static const unsigned char CONSTTIME_TRUE_8 = 0xff;