orthanc/sha.patch

21 lines
719 B
Diff

# HG changeset patch
# User Alain Mazy <am@orthanc.team>
# Date 1727274964 -7200
# Node ID 122fd5f97d394bbbe46e11b65a7a1294ccf61985
# Parent 2b429588de28773d4aa062b3eb78c64663d7cbd2
fix
diff -r 2b429588de28 -r 122fd5f97d39 OrthancFramework/Sources/Toolbox.cpp
--- a/OrthancFramework/Sources/Toolbox.cpp Wed Sep 25 16:27:07 2024 +0200
+++ b/OrthancFramework/Sources/Toolbox.cpp Wed Sep 25 16:36:04 2024 +0200
@@ -837,7 +837,7 @@
assert(sizeof(unsigned int) == 4 && sizeof(digest) == (160 / 8));
assert(sizeof(boost::uuids::detail::sha1::digest_type) == 20);
- sha1.get_digest(digest));
+ sha1.get_digest(digest);
result.resize(8 * 5 + 4);
sprintf(&result[0], "%08x-%08x-%08x-%08x-%08x",