audk/CryptoPkg/Library
Zihong Yi 7de1c71dd2 CryptoPkg/BaseCryptLib:time overflow
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4167

In CrtLibSupport.h, time_t is defined as INT32, and its maximum value
is 2147483647. That is, the corresponding maximum timestamp is
2038-01-19 11:14:07. Therefore, overflow occurs when the test time
exceeds 2038-01-19 11:14:07. So change the type of time_t to INT64 and
also change the type of variables in function gmtime which calculated
with time_t.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Zihong Yi <yizihong@huawei.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2022-12-03 09:01:38 +00:00
..
BaseCryptLib CryptoPkg/BaseCryptLib:time overflow 2022-12-03 09:01:38 +00:00
BaseCryptLibNull CryptoPkg: Add LOONGARCH64 architecture for EDK2 CI. 2022-10-14 02:16:33 +00:00
BaseCryptLibOnProtocolPpi CryptoPkg: Add LOONGARCH64 architecture for EDK2 CI. 2022-10-14 02:16:33 +00:00
BaseHashApiLib CryptoPkg: Sha1 functions causing build errors 2022-11-08 03:15:13 +00:00
Include CryptoPkg/BaseCryptLib:time overflow 2022-12-03 09:01:38 +00:00
IntrinsicLib CryptoPkg: Add instrinsics to support building ECC on IA32 windows 2022-04-14 03:16:59 +00:00
OpensslLib CryptoPkg/OpensslLib: Upgrade OpenSSL to 1.1.1s 2022-12-01 09:29:57 +00:00
TlsLib CryptoPkg/Library: Cleanup BaseCryptLib and TlsLib 2022-10-24 07:49:43 +00:00
TlsLibNull CryptoPkg: Add LOONGARCH64 architecture for EDK2 CI. 2022-10-14 02:16:33 +00:00