Skip to content

Commit cd4f969

Browse files
committed
Better error message too.
1 parent 008132c commit cd4f969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wolfcrypt/src/error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ const char* wc_GetErrorString(int error)
315315
return "Random Number Generator failed";
316316

317317
case HMAC_MIN_KEYLEN_E:
318-
return "FIPS Mode HMAC Minimum Key Length error";
318+
return "FIPS Mode HMAC Minimum Key or Salt Length error";
319319

320320
case RSA_PAD_E:
321321
return "Rsa Padding error";

0 commit comments

Comments
 (0)