From f754e613fcaff79255104d82f8a5a01dc4c50d49 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Fri, 26 Nov 2010 07:23:30 +0000 Subject: 1. enable /GL optimization building on OpensslLib. 2. add DDK3790 compiler option for IA32. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11099 6f19259b-4bc3-4df7-8a09-765794883524 --- CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 2 -- CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 1 - CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 1 - CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 2 -- CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c | 14 ++++++++++++++ 5 files changed, 14 insertions(+), 6 deletions(-) (limited to 'CryptoPkg/Library/BaseCryptLib') diff --git a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf index c9419424fa..efd28ed120 100644 --- a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf @@ -46,8 +46,6 @@ SysCall/BaseMemAllocation.c [Sources.Ia32] - SysCall/HelperWrapper.c - SysCall/Ia32/MathMultS64x64.c | MSFT SysCall/Ia32/MathDivU64x64.c | MSFT SysCall/Ia32/MathReminderU64x64.c | MSFT diff --git a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf index 14a2b1909f..e2c9f03b9a 100644 --- a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf @@ -33,7 +33,6 @@ Pk/CryptRsa.c SysCall/CrtWrapper.c - SysCall/HelperWrapper.c SysCall/BaseMemAllocation.c [Sources.Ia32] diff --git a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf index 4b5ffd1a32..81a37ec5aa 100644 --- a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf @@ -35,7 +35,6 @@ SysCall/CrtWrapper.c SysCall/TimerWrapper.c - SysCall/HelperWrapper.c SysCall/RuntimeMemAllocation.c [Sources.Ia32] diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf index 21ebd00f86..d5f1166f0f 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -38,8 +38,6 @@ SysCall/BaseMemAllocation.c [Sources.Ia32] - SysCall/HelperWrapper.c - SysCall/Ia32/MathMultS64x64.c | MSFT SysCall/Ia32/MathDivU64x64.c | MSFT SysCall/Ia32/MathReminderU64x64.c | MSFT diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c index 4bef42ee7a..1da4452d88 100644 --- a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c +++ b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c @@ -279,3 +279,17 @@ size_t fwrite (const void *buffer, size_t size, size_t count, FILE *stream) { return 0; } + +// +// -- Dummy OpenSSL Support Routines -- +// + +int BIO_printf (void *bio, const char *format, ...) +{ + return 0; +} + +int BIO_snprintf(char *buf, size_t n, const char *format, ...) +{ + return 0; +} -- cgit v1.2.3