Fix build error caused by changed digest signature in boost

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-05-15 00:03:48 +02:00
committed by Konstantin Pastbin
parent 27ae78120b
commit 0dfec1b28f

View File

@@ -19,7 +19,7 @@ namespace
{
SHA1::Hash ExtractHash(boost::uuids::detail::sha1 & sha1)
{
uint32_t digest[5];
boost::uuids::detail::sha1::digest_type digest;
sha1.get_digest(digest);
for (auto & b : digest)
b = boost::core::byteswap(b);