Skip to content

Commit

Permalink
Refs #21128: Fix MD5 namespacing issues
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Jun 18, 2024
1 parent da29254 commit 7f0333d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cpp/utils/Host.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

namespace eprosima {

using MD5 = eprosima::fastdds::MD5;

/**
* This singleton generates a host_id based on system interfaces
* ip addresses or mac addresses
Expand Down
5 changes: 5 additions & 0 deletions src/cpp/utils/md5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
#include <cstdio>
#include <stdio.h>

namespace eprosima {
namespace fastdds {

// Constants for MD5Transform routine.
#define S11 7
Expand Down Expand Up @@ -451,3 +453,6 @@ std::string md5(

return md5.hexdigest();
}

} // namespace fastdds
} // namespace eprosima

0 comments on commit 7f0333d

Please sign in to comment.