summaryrefslogtreecommitdiff
path: root/Cryptlib/update.sh
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2017-04-10 17:40:06 +0800
committerPeter Jones <pjones@redhat.com>2017-04-11 10:42:19 -0400
commit513cbe2aea689bf968f171f894f3d4cdb43524d5 (patch)
tree8714192e6a3d0005397a2d3134884bbaa0923795 /Cryptlib/update.sh
parente9cc33d6f2b7f35c6f5e349fd83fb9ae0bc66226 (diff)
downloadefi-boot-shim-513cbe2aea689bf968f171f894f3d4cdb43524d5.tar.gz
efi-boot-shim-513cbe2aea689bf968f171f894f3d4cdb43524d5.zip
Cryptlib: replace CryptPem with the Null version
CryptPem only provides one function: RsaGetPrivateKeyFromPem(). Since we don't need to retrieve any private key, it's safe to disable the function. Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'Cryptlib/update.sh')
-rwxr-xr-xCryptlib/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cryptlib/update.sh b/Cryptlib/update.sh
index b29f11ce..392e21a1 100755
--- a/Cryptlib/update.sh
+++ b/Cryptlib/update.sh
@@ -23,7 +23,7 @@ cp $DIR/CryptoPkg/Library/BaseCryptLib/Pk/CryptDhNull.c Pk/CryptDhNull.c
cp $DIR/CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c Pk/CryptTs.c
cp $DIR/CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c Pk/CryptX509.c
cp $DIR/CryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c Pk/CryptAuthenticode.c
-cp $DIR/CryptoPkg/Library/BaseCryptLib/Pem/CryptPem.c Pem/CryptPem.c
+cp $DIR/CryptoPkg/Library/BaseCryptLib/Pem/CryptPemNull.c Pem/CryptPemNull.c
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