summaryrefslogtreecommitdiffstats
path: root/src/plugins/crypto_openssl/CMakeLists.txt
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/crypto_openssl/CMakeLists.txt
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/crypto_openssl/CMakeLists.txt')
-rw-r--r--src/plugins/crypto_openssl/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/crypto_openssl/CMakeLists.txt b/src/plugins/crypto_openssl/CMakeLists.txt
index d014144eca8..5d86e3b3e5e 100644
--- a/src/plugins/crypto_openssl/CMakeLists.txt
+++ b/src/plugins/crypto_openssl/CMakeLists.txt
@@ -16,6 +16,7 @@ if(NOT OPENSSL_FOUND)
endif()
include_directories(${OPENSSL_INCLUDE_DIR})
+add_compile_definitions(OPENSSL_SUPPRESS_DEPRECATED)
add_vpp_plugin(crypto_openssl
SOURCES