From 75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 30 Nov 2023 12:38:44 -0800 Subject: Add support for --hashes=sha512_256 as another algorithm --- src/journal.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/journal.h') diff --git a/src/journal.h b/src/journal.h index d68618bf..cfc93c0a 100644 --- a/src/journal.h +++ b/src/journal.h @@ -184,7 +184,8 @@ public: return period_xacts.end(); } - std::size_t read(parse_context_stack_t& context, bool store_hashes); + std::size_t read(parse_context_stack_t& context, + hash_type_t hash_type); bool has_xdata(); void clear_xdata(); @@ -193,7 +194,8 @@ public: private: - std::size_t read_textual(parse_context_stack_t& context, bool store_hashes); + std::size_t read_textual(parse_context_stack_t& context, + hash_type_t hash_type); bool should_check_payees(); bool payee_not_registered(const string& name); -- cgit v1.2.3