diff options
author | Bodo Möller <bodo@openssl.org> | 2006-01-11 10:18:35 +0300 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2006-01-11 10:18:35 +0300 |
commit | 6ad47e83b48b902b47d727c23321902dbdd1d929 (patch) | |
tree | 7ca5fc6147df4fd3d78b4ccffde225ba6fdd607e /ssl/ssl_stat.c | |
parent | 241520e66d3ece1054beae93ff96978d0299cae4 (diff) |
improvements for alert handling
Diffstat (limited to 'ssl/ssl_stat.c')
-rw-r--r-- | ssl/ssl_stat.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ssl/ssl_stat.c b/ssl/ssl_stat.c index b16d253081..ccc010b4e2 100644 --- a/ssl/ssl_stat.c +++ b/ssl/ssl_stat.c @@ -399,6 +399,11 @@ const char *SSL_alert_desc_string(int value) case TLS1_AD_INTERNAL_ERROR: str="IE"; break; case TLS1_AD_USER_CANCELLED: str="US"; break; case TLS1_AD_NO_RENEGOTIATION: str="NR"; break; + case TLS1_AD_UNSUPPORTED_EXTENSION: str="UE"; break; + case TLS1_AD_CERTIFICATE_UNOBTAINABLE: str="CO"; break; + case TLS1_AD_UNRECOGNIZED_NAME: str="UN"; break; + case TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE: str="BR"; break; + case TLS1_AD_BAD_CERTIFICATE_HASH_VALUE: str="BH"; break; default: str="UK"; break; } return(str); @@ -482,6 +487,21 @@ const char *SSL_alert_desc_string_long(int value) case TLS1_AD_NO_RENEGOTIATION: str="no renegotiation"; break; + case TLS1_AD_UNSUPPORTED_EXTENSION: + str="unsupported extension"; + break; + case TLS1_AD_CERTIFICATE_UNOBTAINABLE: + str="certificate unobtainable"; + break; + case TLS1_AD_UNRECOGNIZED_NAME: + str="unrecognized name"; + break; + case TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE: + str="bad certificate status response"; + break; + case TLS1_AD_BAD_CERTIFICATE_HASH_VALUE: + str="bad certificate hash value"; + break; default: str="unknown"; break; } return(str); |