commit | b22e15c33c31d9251f64cb071de464d344d42057 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@google.com> | Wed May 31 19:56:14 2017 -0700 |
committer | Adam Langley <agl@google.com> | Thu Jun 01 02:57:52 2017 +0000 |
tree | 75bb3eca039bfe7e68cf9b1322e68892d614a2dc | |
parent | 2c84a469b0e5500650c95c871a4cec9913ad989b [diff] |
Fix platforms that don't define UINT64_MAX. Change-Id: I4b41db30d9c5b280ce20ed4cf2812488c1275395 Reviewed-on: https://boringssl-review.googlesource.com/16785 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/fipsmodule/cipher/e_aes.c b/crypto/fipsmodule/cipher/e_aes.c index ca55aa4..d349efb 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 {