wc_hash2sz: fix SHA-224 size to 28

This commit is contained in:
Jeremiah Mackey
2026-05-04 16:36:23 +00:00
parent cf9f852db6
commit f3c3687efc
+1 -1
View File
@@ -2633,7 +2633,7 @@ int wc_hash2sz(int hType)
case WC_HASH_TYPE_SHA:
return 20;
case WC_HASH_TYPE_SHA224:
return 24;
return 28;
case WC_HASH_TYPE_SHA256:
return 32;
case WC_HASH_TYPE_SHA384: