From 84158d0ebe144acf597672313aef4e1c9c492ed3 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 3 Aug 2023 12:37:24 +0800 Subject: CryptoPkg/BaseCryptLib: no openssl deprecation warnings please Stop using deprecated interfaces is left as exercise for another day. So please don't warn for now so -Werror builds can work. Signed-off-by: Gerd Hoffmann Cc: Jiewen Yao Cc: Xiaoyu Lu Cc: Guomin Jiang Reviewed-by: Jiewen Yao Acked-by: Ard Biesheuvel Tested-by: Ard Biesheuvel Tested-by: Brian J. Johnson Tested-by: Kenneth Lautner --- CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CryptoPkg/Library') diff --git a/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h b/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h index 3412acc..477e3ae 100644 --- a/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h +++ b/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h @@ -20,6 +20,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include "CrtLibSupport.h" +#define OPENSSL_NO_DEPRECATED 0 + #include #if OPENSSL_VERSION_NUMBER < 0x10100000L -- cgit v1.1