forked from wolfSSL/wolfssl
Merge pull request #2046 from cconlon/addalert
add alert number and string for "unknown_ca" (48)
This commit is contained in:
@ -19651,6 +19651,13 @@ const char* wolfSSL_alert_type_string_long(int alertID)
|
|||||||
return illegal_parameter_str;
|
return illegal_parameter_str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case unknown_ca:
|
||||||
|
{
|
||||||
|
static const char unknown_ca_str[] =
|
||||||
|
"unknown_ca";
|
||||||
|
return unknown_ca_str;
|
||||||
|
}
|
||||||
|
|
||||||
case decode_error:
|
case decode_error:
|
||||||
{
|
{
|
||||||
static const char decode_error_str[] =
|
static const char decode_error_str[] =
|
||||||
|
@ -391,6 +391,7 @@ enum AlertDescription {
|
|||||||
certificate_expired = 45,
|
certificate_expired = 45,
|
||||||
certificate_unknown = 46,
|
certificate_unknown = 46,
|
||||||
illegal_parameter = 47,
|
illegal_parameter = 47,
|
||||||
|
unknown_ca = 48,
|
||||||
decode_error = 50,
|
decode_error = 50,
|
||||||
decrypt_error = 51,
|
decrypt_error = 51,
|
||||||
#ifdef WOLFSSL_MYSQL_COMPATIBLE
|
#ifdef WOLFSSL_MYSQL_COMPATIBLE
|
||||||
|
Reference in New Issue
Block a user