projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ee24d4
)
constant time test: include our internal/numbers.h rather than limits.h
author
Richard Levitte
<levitte@openssl.org>
Sat, 5 Nov 2016 10:38:29 +0000
(11:38 +0100)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/test/constant_time_test.c
b/test/constant_time_test.c
index 41587e2089aa2af579256f98c624d3a409eedb81..e53a73b63aa087128a3352d62613cdc8256a3c27 100644
(file)
--- 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;