summaryrefslogtreecommitdiff
path: root/Cryptlib/update.sh
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2017-04-06 15:50:58 +0800
committerPeter Jones <pjones@redhat.com>2017-04-11 10:42:18 -0400
commit9bc86cfd6f9387f0da9d5c0102b6aa5627e91c91 (patch)
tree5176b8ca13d30609adcdf366f246ff7788a90121 /Cryptlib/update.sh
parentab9a05a10f16b33f7ee1e9da360c7801eebdb9d2 (diff)
downloadefi-boot-shim-9bc86cfd6f9387f0da9d5c0102b6aa5627e91c91.tar.gz
efi-boot-shim-9bc86cfd6f9387f0da9d5c0102b6aa5627e91c91.zip
Cryptlib: Amend update.sh and refresh Cryptlib.diff
- Remove the openssl version from update.sh since edk2 doesn't use the version number in the directory name anymore. - Refresh Cryptlib.diff to reflect the change Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'Cryptlib/update.sh')
-rwxr-xr-xCryptlib/update.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/Cryptlib/update.sh b/Cryptlib/update.sh
index 255e175e..db0483ee 100755
--- a/Cryptlib/update.sh
+++ b/Cryptlib/update.sh
@@ -1,7 +1,6 @@
#!/bin/bash
DIR=$1
-OPENSSL_VERSION="1.0.2k"
cp $DIR/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h InternalCryptLib.h
cp $DIR/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4Null.c Hash/CryptMd4Null.c
@@ -29,6 +28,10 @@ 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/Library/OpensslLib/openssl-${OPENSSL_VERSION}/include/openssl/* Include/openssl/
+cp $DIR/CryptoPkg/Library/OpensslLib/openssl/include/openssl/*.h Include/openssl/
+cp $DIR/CryptoPkg/Library/OpensslLib/openssl/include/internal/*.h Include/internal/
+cp $DIR/CryptoPkg/Library/Include/internal/dso_conf.h Include/internal/
+
+cp $DIR/CryptoPkg/Library/Include/openssl/opensslconf.h Include/openssl/
patch -p2 <Cryptlib.diff