Refactored tests for security core: introduced generic wrappers for security plugins and
updated plugin loading tests to use these instead of specific wrappers per test. Added test for securing communication ad handshake fail (using different identity CAs) Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>
This commit is contained in:
parent
323de40cba
commit
1cf472ea06
62 changed files with 5335 additions and 7813 deletions
|
@ -26,16 +26,12 @@ generate_export_header(
|
|||
EXPORT_FILE_NAME "${CMAKE_CURRENT_BINARY_DIR}/include/dds/security/export.h"
|
||||
)
|
||||
|
||||
add_definitions(-DDDSI_INCLUDE_SSL)
|
||||
|
||||
target_link_libraries(dds_security_ac PUBLIC ddsc)
|
||||
target_link_libraries(dds_security_ac PUBLIC OpenSSL::SSL)
|
||||
|
||||
target_sources(dds_security_ac
|
||||
PRIVATE
|
||||
${srcs_accesscontrol}
|
||||
)
|
||||
|
||||
if(CMAKE_GENERATOR MATCHES "Visual Studio")
|
||||
set_target_properties(dds_security_ac PROPERTIES LINK_FLAGS "/ignore:4099")
|
||||
endif()
|
||||
target_sources(dds_security_ac PRIVATE ${srcs_accesscontrol})
|
||||
target_include_directories(dds_security_ac
|
||||
PUBLIC
|
||||
"$<BUILD_INTERFACE:$<TARGET_PROPERTY:security_api,INTERFACE_INCLUDE_DIRECTORIES>>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue