From 513cbe2aea689bf968f171f894f3d4cdb43524d5 Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Mon, 10 Apr 2017 17:40:06 +0800 Subject: 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 --- Cryptlib/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cryptlib/update.sh') 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 -- cgit v1.2.3