summaryrefslogtreecommitdiff
path: root/CryptoPkg/Include
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2015-12-29 03:16:33 +0000
committervanjeff <vanjeff@Edk2>2015-12-29 03:16:33 +0000
commit6db2b5b42f92143a78fe40f646b3217ccd8bd3dc (patch)
tree080a25e59c496d04c5bae9bee0ac7c3c679b0f9b /CryptoPkg/Include
parentb72472105b6f9976a1d84de7191eb9da8891ddd8 (diff)
downloadedk2-platforms-6db2b5b42f92143a78fe40f646b3217ccd8bd3dc.tar.xz
CryptoPkg/OpensslLib: Move OPENSSL_NO_xxx defines into opensslconf.h
Putting these on the command line as we do at the moment means that they are *only* visible when actually building the OpenSSL code itself. When building other things like BaseCryptLib, they were missing. Which could lead to discrepancies in structures defined by the header files, between the OpenSSL code and the EDK II code which calls it. Move the definitions into opensslconf.h where they would normally live in a standard build of OpenSSL. Note: Do *not* set OPENSSL_NO_LHASH or OPENSSL_NO_OCSP since those weren't effectively disabled before; the directories was still being included in the build. If we actually disable then, the build breaks. We can hopefully fix at least OCSP upstream later, but one thing at a time... (Sync patch r18708 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Reviewed-by: Qin Long <qin.long@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19565 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CryptoPkg/Include')
0 files changed, 0 insertions, 0 deletions