forked from wolfSSL/wolfssl
add missing error strings
This commit is contained in:
@@ -337,6 +337,30 @@ const char* wc_GetErrorString(int error)
|
||||
case SRP_BAD_KEY_E:
|
||||
return "SRP bad key values error";
|
||||
|
||||
case ASN_NO_SKID:
|
||||
return "ASN no Subject Key Identifier found error";
|
||||
|
||||
case ASN_NO_AKID:
|
||||
return "ASN no Authority Key Identifier found error";
|
||||
|
||||
case ASN_NO_KEYUSAGE:
|
||||
return "ASN no Key Usage found error";
|
||||
|
||||
case SKID_E:
|
||||
return "Setting Subject Key Identifier error";
|
||||
|
||||
case AKID_E:
|
||||
return "Setting Authority Key Identifier error";
|
||||
|
||||
case KEYUSAGE_E:
|
||||
return "Bad Key Usage value error";
|
||||
|
||||
case CERTPOLICIES_E:
|
||||
return "Setting Certificate Policies error";
|
||||
|
||||
case WC_INIT_E:
|
||||
return "wolfCrypt Initialize Failure error";
|
||||
|
||||
default:
|
||||
return "unknown error number";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user