summaryrefslogtreecommitdiff
path: root/Cryptlib/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Cryptlib/update.sh')
-rwxr-xr-xCryptlib/update.sh3
1 files changed, 2 insertions, 1 deletions
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 <Cryptlib.diff