mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-07 06:20:47 +02:00
wc_hash2sz: fix SHA-224 size to 28
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user