From afaf0a4205fdb560889e12a6f3cc1f5e3e09ac7b Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Thu, 17 Mar 2016 14:54:55 +0800 Subject: Amend the CryptLib update scripts for openssl 1.0.2g Also update the path to the openssl headers. Signed-off-by: Gary Lin --- Cryptlib/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Cryptlib/update.sh') diff --git a/Cryptlib/update.sh b/Cryptlib/update.sh index f05036e4..3724f4d2 100755 --- a/Cryptlib/update.sh +++ b/Cryptlib/update.sh @@ -1,6 +1,7 @@ #!/bin/bash DIR=$1 +OPENSSL_VERSION="1.0.2g" cp $DIR/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h InternalCryptLib.h cp $DIR/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c Hash/CryptMd4.c @@ -26,6 +27,6 @@ cp $DIR/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c SysCall/CrtWrapper.c cp $DIR/CryptoPkg/Library/BaseCryptLib/SysCall/TimerWrapper.c SysCall/TimerWrapper.c cp $DIR/CryptoPkg/Library/BaseCryptLib/SysCall/BaseMemAllocation.c SysCall/BaseMemAllocation.c -cp $DIR/CryptoPkg/Include/openssl/* Include/openssl/ +cp $DIR/CryptoPkg/Library/OpensslLib/openssl-${OPENSSL_VERSION}/include/openssl/* Include/openssl/ patch -p2