Codechange: make the MD5 hash/digest/checksum variables a std::array

This commit is contained in:
Rubidium
2023-05-18 22:38:56 +02:00
committed by rubidium42
parent 7934418133
commit d9a04ba446
22 changed files with 91 additions and 83 deletions

View File

@@ -618,9 +618,9 @@ int CDECL seprintf(char *str, const char *last, const char *format, ...)
* @param md5sum the md5sum itself
* @return the string representation of the md5sum.
*/
std::string MD5SumToString(const uint8 md5sum[16])
std::string MD5SumToString(const MD5Hash &md5sum)
{
return FormatArrayAsHex({md5sum, 16});
return FormatArrayAsHex(md5sum);
}