constant time test: include our internal/numbers.h rather than limits.h
authorRichard Levitte <levitte@openssl.org>
Sat, 5 Nov 2016 10:38:29 +0000 (11:38 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 5 Nov 2016 10:38:29 +0000 (11:38 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1856)

test/constant_time_test.c

index 41587e2..e53a73b 100644 (file)
@@ -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;