From 1fd912c8ddbc30d1cce153f16a11b5dcf1fa571e Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Tue, 25 Jan 2022 23:11:47 +0100 Subject: build: fix compilation on OpenSSL 3.0 So far by suppressing depreciation messages, as there was no transition period. Type: make Change-Id: I9887613fd71a22bf11bf22a04c129aca4a16867f Signed-off-by: Damjan Marion --- src/plugins/tlsopenssl/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/tlsopenssl') diff --git a/src/plugins/tlsopenssl/CMakeLists.txt b/src/plugins/tlsopenssl/CMakeLists.txt index eb67e4cceaf..70a62aedf9c 100644 --- a/src/plugins/tlsopenssl/CMakeLists.txt +++ b/src/plugins/tlsopenssl/CMakeLists.txt @@ -14,6 +14,7 @@ include (CheckFunctionExists) if(OPENSSL_FOUND AND OPENSSL_VERSION VERSION_GREATER_EQUAL "1.1.0") include_directories(${OPENSSL_INCLUDE_DIR}) + add_compile_definitions(OPENSSL_SUPPRESS_DEPRECATED) add_vpp_plugin(tlsopenssl SOURCES tls_bio.c -- cgit 1.2.3-korg