Skip to content

Commit

Permalink
Update MD5 generation
Browse files Browse the repository at this point in the history
... from MbedTLS 2.x to 3.x.
#944
  • Loading branch information
teusbenschop committed Jul 6, 2024
1 parent 46199a5 commit 8b65b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/md5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ std::string md5 (const std::string str)
{
unsigned char md5sum[16];
const unsigned char *input = reinterpret_cast<const unsigned char *>(str.c_str ());
// Todo [[maybe_unused]] int ret = mbedtls_md5_ret (input, str.size (), md5sum);
mbedtls_md5 (input, str.size (), md5sum);

// Space for 32 bytes of hexits and one terminating null byte.
char hexits [32+1];
Expand Down

0 comments on commit 8b65b46

Please sign in to comment.