mirror of https://github.com/acidanthera/audk.git
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:
parent
4918a06a65
commit
a6908c99aa
|
@ -1,4 +1,4 @@
|
|||
cd openssl-0.9.8w
|
||||
cd openssl-0.9.8za
|
||||
copy e_os2.h ..\..\..\Include\openssl
|
||||
copy crypto\crypto.h ..\..\..\Include\openssl
|
||||
copy crypto\tmdiff.h ..\..\..\Include\openssl
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd openssl-0.9.8w
|
||||
cd openssl-0.9.8za
|
||||
cp e_os2.h ../../../Include/openssl
|
||||
cp crypto/crypto.h ../../../Include/openssl
|
||||
cp crypto/tmdiff.h ../../../Include/openssl
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
## @file
|
||||
# OpenSSL Library implementation.
|
||||
#
|
||||
# Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
# which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -19,9 +19,9 @@
|
|||
MODULE_TYPE = BASE
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = OpensslLib
|
||||
DEFINE OPENSSL_PATH = openssl-0.9.8w
|
||||
DEFINE OPENSSL_PATH = openssl-0.9.8za
|
||||
DEFINE OPENSSL_FLAGS = -DOPENSSL_SYSNAME_UWIN -DOPENSSL_SYS_UEFI -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_SOCK -DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_ERR -DOPENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE -DGETPID_IS_MEANINGLESS -DOPENSSL_NO_STDIO -DOPENSSL_NO_FP_API -DOPENSSL_NO_DGRAM -DOPENSSL_NO_ASM
|
||||
DEFINE OPENSSL_EXFLAGS = -DOPENSSL_SMALL_FOOTPRINT -DOPENSSL_NO_SHA0 -DOPENSSL_NO_SHA512 -DOPENSSL_NO_LHASH -DOPENSSL_NO_HW -DOPENSSL_NO_OCSP -DOPENSSL_NO_LOCKING -DOPENSSL_NO_DEPRECATED
|
||||
DEFINE OPENSSL_EXFLAGS = -DOPENSSL_SMALL_FOOTPRINT -DOPENSSL_NO_SHA0 -DOPENSSL_NO_SHA512 -DOPENSSL_NO_LHASH -DOPENSSL_NO_HW -DOPENSSL_NO_OCSP -DOPENSSL_NO_LOCKING -DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_RIPEMD -DOPENSSL_NO_RC2 -DOPENSSL_NO_IDEA -DOPENSSL_NO_BF -DOPENSSL_NO_CAST -DOPENSSL_NO_WHIRLPOOL -DOPENSSL_NO_DSA -DOPENSSL_NO_EC -DOPENSSL_NO_ECDH -DOPENSSL_NO_ECDSA -DOPENSSL_NO_ENGINE
|
||||
|
||||
#
|
||||
# OPENSSL_FLAGS is set to define the following flags to be compatible with
|
||||
|
@ -77,8 +77,12 @@
|
|||
$(OPENSSL_PATH)/crypto/o_dir.c
|
||||
$(OPENSSL_PATH)/crypto/o_init.c
|
||||
$(OPENSSL_PATH)/crypto/fips_err.c
|
||||
$(OPENSSL_PATH)/crypto/md2/md2_dgst.c
|
||||
$(OPENSSL_PATH)/crypto/md2/md2_one.c
|
||||
|
||||
#
|
||||
# DIsabled by OPENSSL_NO_MD2
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/md2/md2_dgst.c
|
||||
# $(OPENSSL_PATH)/crypto/md2/md2_one.c
|
||||
$(OPENSSL_PATH)/crypto/md4/md4_dgst.c
|
||||
$(OPENSSL_PATH)/crypto/md4/md4_one.c
|
||||
$(OPENSSL_PATH)/crypto/md5/md5_dgst.c
|
||||
|
@ -90,8 +94,13 @@
|
|||
$(OPENSSL_PATH)/crypto/sha/sha256.c
|
||||
$(OPENSSL_PATH)/crypto/sha/sha512.c
|
||||
$(OPENSSL_PATH)/crypto/hmac/hmac.c
|
||||
$(OPENSSL_PATH)/crypto/ripemd/rmd_dgst.c
|
||||
$(OPENSSL_PATH)/crypto/ripemd/rmd_one.c
|
||||
|
||||
#
|
||||
# Disabled by OPENSSL_NO_RIPEMD
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/ripemd/rmd_dgst.c
|
||||
# $(OPENSSL_PATH)/crypto/ripemd/rmd_one.c
|
||||
|
||||
$(OPENSSL_PATH)/crypto/des/des_lib.c
|
||||
$(OPENSSL_PATH)/crypto/des/set_key.c
|
||||
$(OPENSSL_PATH)/crypto/des/ecb_enc.c
|
||||
|
@ -119,29 +128,45 @@
|
|||
$(OPENSSL_PATH)/crypto/des/des_old.c
|
||||
$(OPENSSL_PATH)/crypto/des/des_old2.c
|
||||
$(OPENSSL_PATH)/crypto/des/read2pwd.c
|
||||
$(OPENSSL_PATH)/crypto/rc2/rc2_ecb.c
|
||||
$(OPENSSL_PATH)/crypto/rc2/rc2_skey.c
|
||||
$(OPENSSL_PATH)/crypto/rc2/rc2_cbc.c
|
||||
$(OPENSSL_PATH)/crypto/rc2/rc2cfb64.c
|
||||
$(OPENSSL_PATH)/crypto/rc2/rc2ofb64.c
|
||||
|
||||
#
|
||||
# Disabled by OPENSSL_NO_RC2
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/rc2/rc2_ecb.c
|
||||
# $(OPENSSL_PATH)/crypto/rc2/rc2_skey.c
|
||||
# $(OPENSSL_PATH)/crypto/rc2/rc2_cbc.c
|
||||
# $(OPENSSL_PATH)/crypto/rc2/rc2cfb64.c
|
||||
# $(OPENSSL_PATH)/crypto/rc2/rc2ofb64.c
|
||||
|
||||
$(OPENSSL_PATH)/crypto/rc4/rc4_enc.c
|
||||
$(OPENSSL_PATH)/crypto/rc4/rc4_skey.c
|
||||
$(OPENSSL_PATH)/crypto/rc4/rc4_fblk.c
|
||||
$(OPENSSL_PATH)/crypto/idea/i_cbc.c
|
||||
$(OPENSSL_PATH)/crypto/idea/i_cfb64.c
|
||||
$(OPENSSL_PATH)/crypto/idea/i_ofb64.c
|
||||
$(OPENSSL_PATH)/crypto/idea/i_ecb.c
|
||||
$(OPENSSL_PATH)/crypto/idea/i_skey.c
|
||||
$(OPENSSL_PATH)/crypto/bf/bf_skey.c
|
||||
$(OPENSSL_PATH)/crypto/bf/bf_ecb.c
|
||||
$(OPENSSL_PATH)/crypto/bf/bf_enc.c
|
||||
$(OPENSSL_PATH)/crypto/bf/bf_cfb64.c
|
||||
$(OPENSSL_PATH)/crypto/bf/bf_ofb64.c
|
||||
$(OPENSSL_PATH)/crypto/cast/c_skey.c
|
||||
$(OPENSSL_PATH)/crypto/cast/c_ecb.c
|
||||
$(OPENSSL_PATH)/crypto/cast/c_enc.c
|
||||
$(OPENSSL_PATH)/crypto/cast/c_cfb64.c
|
||||
$(OPENSSL_PATH)/crypto/cast/c_ofb64.c
|
||||
|
||||
#
|
||||
# Disabled by OPENSSL_NO_IDEA
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/idea/i_cbc.c
|
||||
# $(OPENSSL_PATH)/crypto/idea/i_cfb64.c
|
||||
# $(OPENSSL_PATH)/crypto/idea/i_ofb64.c
|
||||
# $(OPENSSL_PATH)/crypto/idea/i_ecb.c
|
||||
# $(OPENSSL_PATH)/crypto/idea/i_skey.c
|
||||
#
|
||||
# Disabled by OPENSSL_NO_BF
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/bf/bf_skey.c
|
||||
# $(OPENSSL_PATH)/crypto/bf/bf_ecb.c
|
||||
# $(OPENSSL_PATH)/crypto/bf/bf_enc.c
|
||||
# $(OPENSSL_PATH)/crypto/bf/bf_cfb64.c
|
||||
# $(OPENSSL_PATH)/crypto/bf/bf_ofb64.c
|
||||
#
|
||||
# Disabled by OPENSSL_NO_CAST
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/cast/c_skey.c
|
||||
# $(OPENSSL_PATH)/crypto/cast/c_ecb.c
|
||||
# $(OPENSSL_PATH)/crypto/cast/c_enc.c
|
||||
# $(OPENSSL_PATH)/crypto/cast/c_cfb64.c
|
||||
# $(OPENSSL_PATH)/crypto/cast/c_ofb64.c
|
||||
|
||||
$(OPENSSL_PATH)/crypto/aes/aes_misc.c
|
||||
$(OPENSSL_PATH)/crypto/aes/aes_ecb.c
|
||||
$(OPENSSL_PATH)/crypto/aes/aes_cfb.c
|
||||
|
@ -198,16 +223,21 @@
|
|||
$(OPENSSL_PATH)/crypto/rsa/rsa_asn1.c
|
||||
$(OPENSSL_PATH)/crypto/rsa/rsa_depr.c
|
||||
$(OPENSSL_PATH)/crypto/rsa/rsa_eng.c
|
||||
$(OPENSSL_PATH)/crypto/dsa/dsa_gen.c
|
||||
$(OPENSSL_PATH)/crypto/dsa/dsa_key.c
|
||||
$(OPENSSL_PATH)/crypto/dsa/dsa_lib.c
|
||||
$(OPENSSL_PATH)/crypto/dsa/dsa_asn1.c
|
||||
$(OPENSSL_PATH)/crypto/dsa/dsa_vrf.c
|
||||
$(OPENSSL_PATH)/crypto/dsa/dsa_sign.c
|
||||
$(OPENSSL_PATH)/crypto/dsa/dsa_err.c
|
||||
$(OPENSSL_PATH)/crypto/dsa/dsa_ossl.c
|
||||
$(OPENSSL_PATH)/crypto/dsa/dsa_depr.c
|
||||
$(OPENSSL_PATH)/crypto/dsa/dsa_utl.c
|
||||
|
||||
#
|
||||
# Disabled by OPENSSL_NO_DSA
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/dsa/dsa_gen.c
|
||||
# $(OPENSSL_PATH)/crypto/dsa/dsa_key.c
|
||||
# $(OPENSSL_PATH)/crypto/dsa/dsa_lib.c
|
||||
# $(OPENSSL_PATH)/crypto/dsa/dsa_asn1.c
|
||||
# $(OPENSSL_PATH)/crypto/dsa/dsa_vrf.c
|
||||
# $(OPENSSL_PATH)/crypto/dsa/dsa_sign.c
|
||||
# $(OPENSSL_PATH)/crypto/dsa/dsa_err.c
|
||||
# $(OPENSSL_PATH)/crypto/dsa/dsa_ossl.c
|
||||
# $(OPENSSL_PATH)/crypto/dsa/dsa_depr.c
|
||||
# $(OPENSSL_PATH)/crypto/dsa/dsa_utl.c
|
||||
|
||||
$(OPENSSL_PATH)/crypto/dso/dso_dl.c
|
||||
$(OPENSSL_PATH)/crypto/dso/dso_dlfcn.c
|
||||
$(OPENSSL_PATH)/crypto/dso/dso_err.c
|
||||
|
@ -223,30 +253,41 @@
|
|||
$(OPENSSL_PATH)/crypto/dh/dh_check.c
|
||||
$(OPENSSL_PATH)/crypto/dh/dh_err.c
|
||||
$(OPENSSL_PATH)/crypto/dh/dh_depr.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec_lib.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ecp_smpl.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ecp_mont.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ecp_nist.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec_cvt.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec_mult.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec_err.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec_curve.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec_check.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec_print.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec_asn1.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec_key.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec2_smpl.c
|
||||
$(OPENSSL_PATH)/crypto/ec/ec2_mult.c
|
||||
$(OPENSSL_PATH)/crypto/ecdh/ech_lib.c
|
||||
$(OPENSSL_PATH)/crypto/ecdh/ech_ossl.c
|
||||
$(OPENSSL_PATH)/crypto/ecdh/ech_key.c
|
||||
$(OPENSSL_PATH)/crypto/ecdh/ech_err.c
|
||||
$(OPENSSL_PATH)/crypto/ecdsa/ecs_lib.c
|
||||
$(OPENSSL_PATH)/crypto/ecdsa/ecs_asn1.c
|
||||
$(OPENSSL_PATH)/crypto/ecdsa/ecs_ossl.c
|
||||
$(OPENSSL_PATH)/crypto/ecdsa/ecs_sign.c
|
||||
$(OPENSSL_PATH)/crypto/ecdsa/ecs_vrf.c
|
||||
$(OPENSSL_PATH)/crypto/ecdsa/ecs_err.c
|
||||
|
||||
#
|
||||
# Disabled by OPENSSL_NO_EC
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec_lib.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ecp_smpl.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ecp_mont.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ecp_nist.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec_cvt.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec_mult.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec_err.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec_curve.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec_check.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec_print.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec_asn1.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec_key.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec2_smpl.c
|
||||
# $(OPENSSL_PATH)/crypto/ec/ec2_mult.c
|
||||
#
|
||||
# Disabled by OPENSSL_NO_ECDH
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/ecdh/ech_lib.c
|
||||
# $(OPENSSL_PATH)/crypto/ecdh/ech_ossl.c
|
||||
# $(OPENSSL_PATH)/crypto/ecdh/ech_key.c
|
||||
# $(OPENSSL_PATH)/crypto/ecdh/ech_err.c
|
||||
#
|
||||
# Disabled by OPENSSL_NO_ECDSA
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/ecdsa/ecs_lib.c
|
||||
# $(OPENSSL_PATH)/crypto/ecdsa/ecs_asn1.c
|
||||
# $(OPENSSL_PATH)/crypto/ecdsa/ecs_ossl.c
|
||||
# $(OPENSSL_PATH)/crypto/ecdsa/ecs_sign.c
|
||||
# $(OPENSSL_PATH)/crypto/ecdsa/ecs_vrf.c
|
||||
# $(OPENSSL_PATH)/crypto/ecdsa/ecs_err.c
|
||||
|
||||
$(OPENSSL_PATH)/crypto/buffer/buffer.c
|
||||
$(OPENSSL_PATH)/crypto/buffer/buf_str.c
|
||||
$(OPENSSL_PATH)/crypto/buffer/buf_err.c
|
||||
|
@ -523,38 +564,47 @@
|
|||
$(OPENSSL_PATH)/crypto/comp/comp_err.c
|
||||
$(OPENSSL_PATH)/crypto/comp/c_rle.c
|
||||
$(OPENSSL_PATH)/crypto/comp/c_zlib.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_err.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_lib.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_list.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_init.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_ctrl.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_table.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_pkey.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_fat.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_all.c
|
||||
$(OPENSSL_PATH)/crypto/engine/tb_rsa.c
|
||||
$(OPENSSL_PATH)/crypto/engine/tb_dsa.c
|
||||
$(OPENSSL_PATH)/crypto/engine/tb_ecdsa.c
|
||||
$(OPENSSL_PATH)/crypto/engine/tb_dh.c
|
||||
$(OPENSSL_PATH)/crypto/engine/tb_ecdh.c
|
||||
$(OPENSSL_PATH)/crypto/engine/tb_rand.c
|
||||
$(OPENSSL_PATH)/crypto/engine/tb_store.c
|
||||
$(OPENSSL_PATH)/crypto/engine/tb_cipher.c
|
||||
$(OPENSSL_PATH)/crypto/engine/tb_digest.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_openssl.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_cnf.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_dyn.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_cryptodev.c
|
||||
$(OPENSSL_PATH)/crypto/engine/eng_padlock.c
|
||||
$(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
|
||||
$(OPENSSL_PATH)/crypto/ocsp/ocsp_ext.c
|
||||
$(OPENSSL_PATH)/crypto/ocsp/ocsp_ht.c
|
||||
$(OPENSSL_PATH)/crypto/ocsp/ocsp_lib.c
|
||||
$(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
|
||||
$(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
|
||||
$(OPENSSL_PATH)/crypto/ocsp/ocsp_prn.c
|
||||
$(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
|
||||
$(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
|
||||
|
||||
#
|
||||
# Disabled by OPENSSL_NO_ENGINE
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_err.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_lib.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_list.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_init.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_ctrl.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_table.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_pkey.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_fat.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_all.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/tb_rsa.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/tb_dsa.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/tb_ecdsa.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/tb_dh.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/tb_ecdh.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/tb_rand.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/tb_store.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/tb_cipher.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/tb_digest.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_openssl.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_cnf.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_dyn.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_cryptodev.c
|
||||
# $(OPENSSL_PATH)/crypto/engine/eng_padlock.c
|
||||
|
||||
#
|
||||
# Disabled by OPENSSL_NO_OCSP
|
||||
#
|
||||
# $(OPENSSL_PATH)/crypto/ocsp/ocsp_asn.c
|
||||
# $(OPENSSL_PATH)/crypto/ocsp/ocsp_ext.c
|
||||
# $(OPENSSL_PATH)/crypto/ocsp/ocsp_ht.c
|
||||
# $(OPENSSL_PATH)/crypto/ocsp/ocsp_lib.c
|
||||
# $(OPENSSL_PATH)/crypto/ocsp/ocsp_cl.c
|
||||
# $(OPENSSL_PATH)/crypto/ocsp/ocsp_srv.c
|
||||
# $(OPENSSL_PATH)/crypto/ocsp/ocsp_prn.c
|
||||
# $(OPENSSL_PATH)/crypto/ocsp/ocsp_vfy.c
|
||||
# $(OPENSSL_PATH)/crypto/ocsp/ocsp_err.c
|
||||
|
||||
$(OPENSSL_PATH)/crypto/ui/ui_err.c
|
||||
$(OPENSSL_PATH)/crypto/ui/ui_lib.c
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue