diff --git a/dependencies.yaml b/dependencies.yaml index 78a5d1398..8b68e27b9 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -54,7 +54,7 @@ libcurl: # and would otherwise be overwritten by the version used there libevse-security: git: https://github.com/EVerest/libevse-security.git - git_tag: 8a300f39b94fb6364759dfbb57e8501facb94b2f + git_tag: aec383634d4def547ea4e8a5743576b697ea9987 cmake_condition: "EVEREST_DEPENDENCY_ENABLED_LIBEVSE_SECURITY" # OCPP diff --git a/lib/staging/tls/CMakeLists.txt b/lib/staging/tls/CMakeLists.txt index 5fb832a7b..8d789f2c7 100644 --- a/lib/staging/tls/CMakeLists.txt +++ b/lib/staging/tls/CMakeLists.txt @@ -10,6 +10,10 @@ target_sources(tls tls.cpp ) +target_compile_definitions(tls PRIVATE + -DLIBEVSE_CRYPTO_SUPPLIER_OPENSSL +) + target_include_directories(tls PUBLIC $ diff --git a/lib/staging/tls/openssl_conv.cpp b/lib/staging/tls/openssl_conv.cpp index 9deebea8b..63b129e04 100644 --- a/lib/staging/tls/openssl_conv.cpp +++ b/lib/staging/tls/openssl_conv.cpp @@ -3,7 +3,7 @@ #include -#include +#include #include #include diff --git a/lib/staging/tls/tests/CMakeLists.txt b/lib/staging/tls/tests/CMakeLists.txt index 263902667..7ab5443b8 100644 --- a/lib/staging/tls/tests/CMakeLists.txt +++ b/lib/staging/tls/tests/CMakeLists.txt @@ -9,6 +9,7 @@ target_include_directories(${TLS_GTEST_NAME} PRIVATE target_compile_definitions(${TLS_GTEST_NAME} PRIVATE -DUNIT_TEST + -DLIBEVSE_CRYPTO_SUPPLIER_OPENSSL ) target_sources(${TLS_GTEST_NAME} PRIVATE