Skip to content

Commit

Permalink
Fix build with TLS, but not security (#4156) (#4163)
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit fae8f1e)

Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
mergify[bot] and MiguelCompany authored Dec 19, 2023
1 parent b598fd4 commit d5ec4ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions test/blackbox/common/BlackboxTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ using namespace eprosima::fastrtps::rtps;

//#define cout "Use Log instead!"

const char* certs_path = nullptr;
uint16_t global_port = 0;
bool enable_datasharing;
bool use_pull_mode;
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox/common/BlackboxTests.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
#include <functional>

#if HAVE_SECURITY
extern const char* certs_path;
extern void blackbox_security_init();
#endif // if HAVE_SECURITY
#if TLS_FOUND
extern void tls_init();
#endif // if TLS_FOUND

extern const char* certs_path;
extern uint16_t global_port;
extern bool enable_datasharing;
extern bool use_pull_mode;
Expand Down
2 changes: 0 additions & 2 deletions test/blackbox/common/BlackboxTestsSecurity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ using namespace eprosima::fastrtps::rtps;
using test_UDPv4Transport = eprosima::fastdds::rtps::test_UDPv4Transport;
using test_UDPv4TransportDescriptor = eprosima::fastdds::rtps::test_UDPv4TransportDescriptor;

const char* certs_path = nullptr;

enum communication_type
{
TRANSPORT,
Expand Down

0 comments on commit d5ec4ca

Please sign in to comment.