]> git.proxmox.com Git - mirror_edk2.git/commit - CryptoPkg/Library/OpensslLib/OpensslLib.inf
CryptoPkg/OpensslLib: Move OPENSSL_NO_xxx defines into opensslconf.h
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 29 Oct 2015 14:17:31 +0000 (14:17 +0000)
committerqlong <qlong@Edk2>
Thu, 29 Oct 2015 14:17:31 +0000 (14:17 +0000)
commit843f8ca01bc195cd077f13512fe285e8db9a3984
tree0f4e495ddab255a91b98d8611bb6f895f7d10884
parent97468ab9026d0833a2f5c3351a0ff3562a751741
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...

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/trunk/edk2@18708 6f19259b-4bc3-4df7-8a09-765794883524
CryptoPkg/Library/OpensslLib/EDKII_openssl-1.0.2d.patch
CryptoPkg/Library/OpensslLib/OpensslLib.inf