diff options
author | John Wiegley <johnw@newartisans.com> | 2023-12-13 12:47:16 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2024-08-05 08:35:56 -0700 |
commit | cab357a160cf4fdf4eb7c17c35c703e1e1f0ab10 (patch) | |
tree | 8a6f2576bf0f3a752082d076ef3f7e0adfecc2ec /src/session.h | |
parent | 5c694ed21d940ab59ee157b965fcd36158381736 (diff) | |
download | fork-ledger-cab357a160cf4fdf4eb7c17c35c703e1e1f0ab10.tar.gz fork-ledger-cab357a160cf4fdf4eb7c17c35c703e1e1f0ab10.tar.bz2 fork-ledger-cab357a160cf4fdf4eb7c17c35c703e1e1f0ab10.zip |
Rename SHA-512/256 to the more appropriate SHA-512Half
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.h b/src/session.h index c83be644..ef26b58e 100644 --- a/src/session.h +++ b/src/session.h @@ -170,8 +170,8 @@ public: DO_(str) { if (str == "sha512" || str == "SHA512") { hash_type = HASH_SHA512; - } else if (str == "sha512_256" || str == "SHA512_256") { - hash_type = HASH_SHA512_256; + } else if (str == "sha512_half" || str == "SHA512_Half") { + hash_type = HASH_SHA512_Half; } else { throw_(std::invalid_argument, _f("Unrecognized hash type")); } |