diff options
author | Yi Li <yi1.li@intel.com> | 2023-08-03 12:37:41 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-08-09 07:10:31 +0000 |
commit | b2ff8e45db304b139a791bfcfb493d17739ddb7d (patch) | |
tree | e20bb82f9fd8bf6c41ac5bbd707ba2361df43de4 | |
parent | 4b5faa5775bf75bbc36ea513736876da515989eb (diff) | |
download | edk2-b2ff8e45db304b139a791bfcfb493d17739ddb7d.tar.gz edk2-b2ff8e45db304b139a791bfcfb493d17739ddb7d.tar.bz2 edk2-b2ff8e45db304b139a791bfcfb493d17739ddb7d.zip |
CryptoPkg: add define of maximum unsigned size_t
Used by openssl30 source code.
Signed-off-by: Yi Li <yi1.li@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Brian J. Johnson <brian.johnson@hpe.com>
Tested-by: Kenneth Lautner <klautner@microsoft.com>
-rw-r--r-- | CryptoPkg/Library/Include/CrtLibSupport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/Include/CrtLibSupport.h index 94b0e6b601..f36fe08f0c 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -87,6 +87,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define UINT_MAX 0xFFFFFFFF /* Maximum unsigned int value */
#define ULONG_MAX 0xFFFFFFFF /* Maximum unsigned long value */
#define CHAR_BIT 8 /* Number of bits in a char */
+#define SIZE_MAX 0xFFFFFFFF /* Maximum unsigned size_t */
//
// Address families.
|