summaryrefslogtreecommitdiff
path: root/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2015-12-29 03:15:37 +0000
committervanjeff <vanjeff@Edk2>2015-12-29 03:15:37 +0000
commit34885c5af41df1a9f33b77e7af090347c9819199 (patch)
tree6d23a3f2de3388b52d86000ae823ece8465885aa /CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand
parentb3a7a7a6ca563380dcbf2e6247e6b66dd2876c5d (diff)
downloadedk2-platforms-34885c5af41df1a9f33b77e7af090347c9819199.tar.xz
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. (Sync patch r18706 from main trunk.) 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/branches/UDK2015@19563 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand')
0 files changed, 0 insertions, 0 deletions