Skip to content

Commit

Permalink
constant time test: include our internal/numbers.h rather than limits.h
Browse files Browse the repository at this point in the history
Reviewed-by: Rich Salz <[email protected]>
(Merged from openssl#1856)
  • Loading branch information
levitte committed Nov 5, 2016
1 parent 3ee24d4 commit c76da13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/constant_time_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c76da13

Please sign in to comment.