Skip to content

Commit

Permalink
- Add proper EXPORT macro to MD5 class
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson committed Jul 31, 2024
1 parent 7b38d0e commit 118e89e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/simplnx/Utilities/MD5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ documentation and/or software.

///////////////////////////////////////////////

using namespace nx::core;

// F, G, H and I are basic MD5 functions.
MD5::uint4 MD5::F(uint4 x, uint4 y, uint4 z)
{
Expand Down
8 changes: 7 additions & 1 deletion src/simplnx/Utilities/MD5.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ These notices must be retained in any copies of any part of this
documentation and/or software.
*/
#include "simplnx/simplnx_export.hpp"

#include <cstring>
#include <iostream>
Expand All @@ -44,7 +45,10 @@ documentation and/or software.
// MD5(std::string).hexdigest()
//
// assumes that char is 8 bit and int is 32 bit
class MD5
namespace nx::core
{

class SIMPLNX_EXPORT MD5
{
public:
typedef unsigned int size_type; // must be 32bit
Expand Down Expand Up @@ -89,3 +93,5 @@ class MD5
};

std::string md5(const std::string str);

} // namespace nx::core

0 comments on commit 118e89e

Please sign in to comment.