diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2023-08-03 12:37:24 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-08-09 07:10:31 +0000 |
commit | 84158d0ebe144acf597672313aef4e1c9c492ed3 (patch) | |
tree | d855146ffe08c6ab03c041e5ca8a6da6209997ad /CryptoPkg | |
parent | ac492c3ead964861a0aaf762155a2a923a8d70a0 (diff) | |
download | edk2-84158d0ebe144acf597672313aef4e1c9c492ed3.tar.gz edk2-84158d0ebe144acf597672313aef4e1c9c492ed3.tar.bz2 edk2-84158d0ebe144acf597672313aef4e1c9c492ed3.zip |
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 <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Brian J. Johnson <brian.johnson@hpe.com>
Tested-by: Kenneth Lautner <klautner@microsoft.com>
Diffstat (limited to 'CryptoPkg')
-rw-r--r-- | CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h b/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h index 3412acc676..477e3ae5f1 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 <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|