aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc/tss/tss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/misc/tss/tss.cpp')
-rw-r--r--src/lib/misc/tss/tss.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/misc/tss/tss.cpp b/src/lib/misc/tss/tss.cpp
index 6d4ea4eaf..8830a2953 100644
--- a/src/lib/misc/tss/tss.cpp
+++ b/src/lib/misc/tss/tss.cpp
@@ -82,7 +82,7 @@ uint8_t gfp_mul(uint8_t x, uint8_t y)
uint8_t rtss_hash_id(const std::string& hash_name)
{
- if(hash_name == "SHA-160")
+ if(hash_name == "SHA-160" || hash_name == "SHA-1" || hash_name == "SHA1")
return 1;
else if(hash_name == "SHA-256")
return 2;