audk/CryptoPkg/Library/BaseCryptLib
David Woodhouse 3b21958bf2 CryptoPkg: Fix OpenSSL BN wordsize and OPENSSL_SYS_UEFI handling
We were manually setting -DSIXTY_FOUR_BIT_LONG or -DTHIRTY_TWO_BIT on
the compiler command line when building OpensslLib itself, but not when
building BaseCryptLib.

But when building BaseCryptLib, we weren't setting OPENSSL_SYS_UEFI
*either*. This meant that *that* build was picking up the definition
from <openssl/opensslconf.h>, and was thus *different* to the version
the library was built with, in some cases.

So set OPENSSL_SYS_UEFI consistently in OpensslSupport.h and *also*
define either SIXTY_FOUR_BIT or THIRTY_TWO_BIT there too.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Qin Long <qin.long@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18706 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-29 14:17:15 +00:00
..
Cipher CryptoPkg: Fix one wrong parameter for weak key checking 2015-09-02 08:44:46 +00:00
Hash CryptoPkg: remove redundant parentheses 2015-07-14 02:57:38 +00:00
Hmac Fix several issues in BaseCryptLib: 2012-08-02 02:49:24 +00:00
Pem Enhance error handling code after calling BIO_new in BaseCryptLib. 2013-08-07 08:11:14 +00:00
Pk CryptoPkg/BaseCryptLib: Use X509_V_FLAG_NO_CHECK_TIME 2015-10-29 14:16:54 +00:00
Rand Fixed one typo in MathRShiftU64.S stub implementation; Add one digest algorithm registration to make sure the underlying algorithm is available for the default OpenSSL software PRNG implementation. 2013-11-19 02:57:19 +00:00
SysCall CryptoPkg Updates to support RFC3161 timestamp signature verification. 2014-11-12 08:51:45 +00:00
BaseCryptLib.inf Update the build option to eliminate possible build warning for IPF platform. 2014-12-10 08:05:42 +00:00
BaseCryptLib.uni CryptoPkg: Convert non DOS format files to DOS format 2014-09-03 08:56:12 +00:00
InternalCryptLib.h CryptoPkg: Fix OpenSSL BN wordsize and OPENSSL_SYS_UEFI handling 2015-10-29 14:17:15 +00:00
PeiCryptLib.inf CryptoPkg Updates to support RFC3161 timestamp signature verification. 2014-11-12 08:51:45 +00:00
PeiCryptLib.uni CryptoPkg: Convert non DOS format files to DOS format 2014-09-03 08:56:12 +00:00
RuntimeCryptLib.inf CryptoPkg Updates to support RFC3161 timestamp signature verification. 2014-11-12 08:51:45 +00:00
RuntimeCryptLib.uni CryptoPkg: Convert non DOS format files to DOS format 2014-09-03 08:56:12 +00:00
SmmCryptLib.inf CryptoPkg Updates to support RFC3161 timestamp signature verification. 2014-11-12 08:51:45 +00:00
SmmCryptLib.uni CryptoPkg: Convert non DOS format files to DOS format 2014-09-03 08:56:12 +00:00