audk/CryptoPkg/Include
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
..
Library CryptoPkg: Add a missed include file to fix the possible build issue. 2015-08-20 08:49:31 +00:00
Protocol Fix issue that RsaPkcs1Verify() may not work in PEI phase. 2012-11-22 05:07:22 +00:00
arpa Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
netinet Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
openssl Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
sys Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
OpenSslSupport.h CryptoPkg: Fix OpenSSL BN wordsize and OPENSSL_SYS_UEFI handling 2015-10-29 14:17:15 +00:00
assert.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
ctype.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
dirent.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
errno.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
limits.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
malloc.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
math.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
memory.h CryptoPkg: Wrapper files updates to support openssl-1.0.2c 2015-06-16 00:54:16 +00:00
netdb.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
sgtty.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
signal.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
stdarg.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
stddef.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
stdio.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
stdlib.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
string.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
strings.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
syslog.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
time.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
unistd.h Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00