Skip to content

Commit

Permalink
Refs #16603. Temporarily disabling secure endpoints on EDPClient.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
  • Loading branch information
MiguelCompany committed Dec 23, 2022
1 parent 7a18822 commit dead9c9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/cpp/rtps/builtin/discovery/endpoint/EDPClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ bool EDPClient::processLocalReaderProxyData(

auto* writer = &subscriptions_writer_;

#if HAVE_SECURITY
// TODO(Miguel C): Re-enable this when EDPServer creates the secure EDP endpoints
#if 0 // HAVE_SECURITY
if (local_reader->getAttributes().security_attributes().is_discovery_protected)
{
writer = &subscriptions_secure_writer_;
Expand Down Expand Up @@ -79,7 +80,8 @@ bool EDPClient::processLocalWriterProxyData(

auto* writer = &publications_writer_;

#if HAVE_SECURITY
// TODO(Miguel C): Re-enable this when EDPServer creates the secure EDP endpoints
#if 0 //HAVE_SECURITY
if (local_writer->getAttributes().security_attributes().is_discovery_protected)
{
writer = &publications_secure_writer_;
Expand Down Expand Up @@ -110,7 +112,8 @@ bool EDPClient::removeLocalWriter(

auto* writer = &publications_writer_;

#if HAVE_SECURITY
// TODO(Miguel C): Re-enable this when EDPServer creates the secure EDP endpoints
#if 0 // HAVE_SECURITY
if (W->getAttributes().security_attributes().is_discovery_protected)
{
writer = &publications_secure_writer_;
Expand Down Expand Up @@ -163,7 +166,8 @@ bool EDPClient::removeLocalReader(

auto* writer = &subscriptions_writer_;

#if HAVE_SECURITY
// TODO(Miguel C): Re-enable this when EDPServer creates the secure EDP endpoints
#if 0 // HAVE_SECURITY
if (R->getAttributes().security_attributes().is_discovery_protected)
{
writer = &subscriptions_secure_writer_;
Expand Down

0 comments on commit dead9c9

Please sign in to comment.