From b22e15c33c31d9251f64cb071de464d344d42057 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Wed, 31 May 2017 19:56:14 -0700 Subject: [PATCH] Fix platforms that don't define UINT64_MAX. Change-Id: I4b41db30d9c5b280ce20ed4cf2812488c1275395 Reviewed-on: https://boringssl-review.googlesource.com/16785 Reviewed-by: Adam Langley --- crypto/fipsmodule/cipher/e_aes.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crypto/fipsmodule/cipher/e_aes.c b/crypto/fipsmodule/cipher/e_aes.c index ca55aa4a..d349efb7 100644 --- a/crypto/fipsmodule/cipher/e_aes.c +++ b/crypto/fipsmodule/cipher/e_aes.c @@ -68,6 +68,10 @@ #endif +#if !defined(UINT64_MAX) +#define UINT64_MAX 18446744073709551615ULL +#endif + OPENSSL_MSVC_PRAGMA(warning(disable: 4702)) /* Unreachable code. */ typedef struct {