add unknown_ca alert number (48) and string

This commit is contained in:
Chris Conlon
2019-01-18 15:36:33 -08:00
parent d07cf53bb1
commit 8ecee6a7e9
2 changed files with 8 additions and 0 deletions

View File

@ -19625,6 +19625,13 @@ const char* wolfSSL_alert_type_string_long(int alertID)
return illegal_parameter_str;
}
case unknown_ca:
{
static const char unknown_ca_str[] =
"unknown_ca";
return unknown_ca_str;
}
case decode_error:
{
static const char decode_error_str[] =

View File

@ -391,6 +391,7 @@ enum AlertDescription {
certificate_expired = 45,
certificate_unknown = 46,
illegal_parameter = 47,
unknown_ca = 48,
decode_error = 50,
decrypt_error = 51,
#ifdef WOLFSSL_MYSQL_COMPATIBLE