security: Cleaning up all security stuff...
diff --git a/src/sync-digest.h b/src/sync-digest.h
index 7cef28f..ecc8522 100644
--- a/src/sync-digest.h
+++ b/src/sync-digest.h
@@ -103,11 +103,11 @@
operator << (const std::string &str);
/**
- * @brief Add uint32_t value to digest calculation
- * @param value uint32_t value to put into digest
+ * @brief Add uint64_t value to digest calculation
+ * @param value uint64_t value to put into digest
*/
inline Digest &
- operator << (uint32_t value);
+ operator << (uint64_t value);
/**
* @brief Checks if the stored hash is zero-root hash
@@ -153,9 +153,9 @@
}
inline Digest &
-Digest::operator << (uint32_t value)
+Digest::operator << (uint64_t value)
{
- update (reinterpret_cast<const uint8_t*> (&value), sizeof (uint32_t));
+ update (reinterpret_cast<const uint8_t*> (&value), sizeof (uint64_t));
return *this;
}