diff options
author | John Wiegley <johnw@newartisans.com> | 2023-11-30 12:38:44 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2024-08-05 08:35:56 -0700 |
commit | 75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c (patch) | |
tree | 896d7f2d1496bd19b2c5ba7a8b97285908bfde0c /src/utils.h | |
parent | f230125ecc0761e6bd082ac0d916db4f17f0278d (diff) | |
download | fork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.tar.gz fork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.tar.bz2 fork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.zip |
Add support for --hashes=sha512_256 as another algorithm
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index c17c8fb1..34308807 100644 --- a/src/utils.h +++ b/src/utils.h @@ -605,6 +605,12 @@ inline string sha1sum(const string& str) extern const string version; +enum hash_type_t { + NO_HASHES = 0, + HASH_SHA512 = 1, + HASH_SHA512_256 = 2 +}; + } // namespace ledger /*@}*/ |