Update OpenSSL from 0.9.8w to the latest 0.9.8za.

Main changes include:
1. Update the patch file for 0.9.8za;
2. Update the install scripts to align the path for 0.9.8za;
3. OpensslLib.inf : Update the OPENSSL_PATH for 0.9.8za; enable more OPENSLL FLAGS to disable those un-used algorithms for better build performance and size;
4. Update the HOWTO file to align new OpenSSL version.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Long, Qin <qin.long@intel.com>
Reviewed-by: Ye, Ting <ting.ye@intel.com>
Reviewed-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15638 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Long, Qin
2014-07-08 03:03:24 +00:00
committed by qlong
parent 4918a06a65
commit a6908c99aa
5 changed files with 159 additions and 109 deletions

View File

@@ -17,36 +17,36 @@ cryptography. This patch will enable openssl building under UEFI environment.
================================================================================
OpenSSL-Version
================================================================================
Current supported OpenSSL version for UEFI Crypto Library is 0.9.8w.
http://www.openssl.org/source/openssl-0.9.8w.tar.gz
Current supported OpenSSL version for UEFI Crypto Library is 0.9.8za.
http://www.openssl.org/source/openssl-0.9.8za.tar.gz
================================================================================
HOW to Install Openssl for UEFI Building
================================================================================
1. Download OpenSSL 0.9.8w from official website:
http://www.openssl.org/source/openssl-0.9.8w.tar.gz
1. Download OpenSSL 0.9.8za from official website:
http://www.openssl.org/source/openssl-0.9.8za.tar.gz
NOTE: Some web browsers may rename the downloaded TAR file to openssl-0.9.8w.tar.tar.
When you do the download, rename the "openssl-0.9.8w.tar.tar" to
"openssl-0.9.8w.tar.gz" or rename the local downloaded file with ".tar.tar"
NOTE: Some web browsers may rename the downloaded TAR file to openssl-0.9.8za.tar.tar.
When you do the download, rename the "openssl-0.9.8za.tar.tar" to
"openssl-0.9.8za.tar.gz" or rename the local downloaded file with ".tar.tar"
extension to ".tar.gz".
2. Extract TAR into CryptoPkg/Library/OpenSslLib/openssl-0.9.8w
2. Extract TAR into CryptoPkg/Library/OpenSslLib/openssl-0.9.8za
NOTE: If you use WinZip to unpack the openssl source in Windows, please
uncheck the WinZip smart CR/LF conversion option (WINZIP: Options -->
Configuration --> Miscellaneous --> "TAR file smart CR/LF conversion").
3. Apply this patch: EDKII_openssl-0.9.8w.patch, and make installation
3. Apply this patch: EDKII_openssl-0.9.8za.patch, and make installation
For Windows Environment:
------------------------
1) Make sure the patch utility has been installed in your machine.
Install Cygwin or get the patch utility binary from
http://gnuwin32.sourceforge.net/packages/patch.htm
2) cd $(WORKSPACE)\CryptoPkg\Library\OpensslLib\openssl-0.9.8w
3) patch -p0 -i ..\EDKII_openssl-0.9.8w.patch
2) cd $(WORKSPACE)\CryptoPkg\Library\OpensslLib\openssl-0.9.8za
3) patch -p0 -i ..\EDKII_openssl-0.9.8za.patch
4) cd ..
5) Install.cmd
@@ -54,8 +54,8 @@ cryptography. This patch will enable openssl building under UEFI environment.
-----------------------
1) Make sure the patch utility has been installed in your machine.
Patch utility is available from http://directory.fsf.org/project/patch/
2) cd $(WORKSPACE)/CryptoPkg/Library/OpensslLib/openssl-0.9.8w
3) patch -p0 -i ../EDKII_openssl-0.9.8w.patch
2) cd $(WORKSPACE)/CryptoPkg/Library/OpensslLib/openssl-0.9.8za
3) patch -p0 -i ../EDKII_openssl-0.9.8za.patch
4) cd ..
5) ./Install.sh