From 8834128e02b75f43559371e099344c1fc3ec67fb Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Wed, 16 Feb 2022 01:07:52 -0500 Subject: [PATCH] Suppress OpenSSL 3.0 warnings (#2502) This is a temporary fix until the code can be refactored to use real OpenSSL 3.0 APIs. Signed-off-by: Chris Lalancette --- src/cpp/security/authentication/PKIDH.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpp/security/authentication/PKIDH.cpp b/src/cpp/security/authentication/PKIDH.cpp index 2dfcbf32d05..567a33ad8cd 100644 --- a/src/cpp/security/authentication/PKIDH.cpp +++ b/src/cpp/security/authentication/PKIDH.cpp @@ -16,6 +16,10 @@ * @file PKIDH.cpp */ +// TODO This isn't a proper fix for compatibility with OpenSSL 3.0, but +// suppresses the warnings until true OpenSSL 3.0 APIs can be used. +#define OPENSSL_API_COMPAT 10101 + #include #include #include