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 41587e2089aa2af579256f98c624d3a409eedb81..e53a73b63aa087128a3352d62613cdc8256a3c27 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;