aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/tlsopenssl
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-01-25 23:11:47 +0100
committerDamjan Marion <dmarion@me.com>2022-01-27 20:35:57 +0000
commit1fd912c8ddbc30d1cce153f16a11b5dcf1fa571e (patch)
tree704d866b0f0460d0a985eaee7a2d0f216693e00d /src/plugins/tlsopenssl
parent0d47f20940003088df0c06f684350cc8da9a7f7a (diff)
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 <damarion@cisco.com>
Diffstat (limited to 'src/plugins/tlsopenssl')
-rw-r--r--src/plugins/tlsopenssl/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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