makes sure random values are safe.

This commit is contained in:
Moisés Guimarães
2015-08-04 14:48:17 -03:00
parent 12b8445153
commit 690cb14746
4 changed files with 48 additions and 41 deletions

View File

@@ -328,6 +328,15 @@ const char* wc_GetErrorString(int error)
case ECC_PRIV_KEY_E:
return " ECC private key is not valid error";
case SRP_CALL_ORDER_E:
return "SRP function called in the wrong order error";
case SRP_VERIFY_E:
return "SRP proof verification error";
case SRP_BAD_KEY_E:
return "SRP bad key values error";
default:
return "unknown error number";