audk/CryptoPkg/Library/BaseCryptLib
Gary Ching-Pang Lin 04a3cfa78a Per gmtime manpage, tm_mon is the number of months since January
while MonthNo is the month of the year, so tm_mon should be MonthNo-1.

Similarly, tm_mday is the day of the month, and DayNo is the number 
of days since the first day of the month. Assigning DayNo+1 to 
tm_mday to fit the definition.

This commit also corrected miscalculated MonthNo and DayNo for the 
first day of the month. (Thanks to Laszlo Ersek!)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Long Qin <qin.long@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14481 6f19259b-4bc3-4df7-8a09-765794883524
2013-07-17 07:53:04 +00:00
..
Cipher Fix several issues in BaseCryptLib: 2012-08-02 02:49:24 +00:00
Hash Fix some typo and coding style issues in BaseCryptLib instances. 2012-07-27 07:49:42 +00:00
Hmac Fix several issues in BaseCryptLib: 2012-08-02 02:49:24 +00:00
Pem Fix several issues in BaseCryptLib: 2012-08-02 02:49:24 +00:00
Pk The openssl API RSA_public_decrypt() and RSA_private_encrypt() are deprecated, use RSA_sign(), RSA_verify() instead. 2013-04-23 01:52:17 +00:00
Rand Though the comment of RandomSeed() states it should return FALSE if there is not enough entropy for random generation, the function always returns TRUE. This commit checks the status of pseudorandom number generator to match the comment. 2013-05-29 05:30:13 +00:00
SysCall Per gmtime manpage, tm_mon is the number of months since January 2013-07-17 07:53:04 +00:00
BaseCryptLib.inf Fix several issues in BaseCryptLib: 2012-08-02 02:49:24 +00:00
InternalCryptLib.h Fix PeiCryptLib build issue. 2012-08-23 03:31:00 +00:00
PeiCryptLib.inf Fix PeiCryptLib build issue. 2012-08-23 03:31:00 +00:00
RuntimeCryptLib.inf Add interfaces to several library instances of BaseCryptLib. 2012-07-18 09:32:05 +00:00
SmmCryptLib.inf Add interfaces to several library instances of BaseCryptLib. 2012-07-18 09:32:05 +00:00