Merge pull request #2046 from cconlon/addalert

add alert number and string for "unknown_ca" (48)
pull/2053/head
toddouska 2019-01-21 15:39:47 -08:00 committed by GitHub
commit 52e8e77390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -19651,6 +19651,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