diff options
author | lloyd <[email protected]> | 2012-04-09 18:03:16 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-04-09 18:03:16 +0000 |
commit | c09b208d5d3ead81ef7ad662f71f55f1e00f61bc (patch) | |
tree | a53dba67fd44a310f1da0e8449bc652b033fa365 /src/tls/tls_alert.cpp | |
parent | e91b91578a483a23bd491149d3dd21079c4a27d1 (diff) |
Add support for the 3 alert types we didn't have codes for.
Diffstat (limited to 'src/tls/tls_alert.cpp')
-rw-r--r-- | src/tls/tls_alert.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tls/tls_alert.cpp b/src/tls/tls_alert.cpp index b526eeac3..2461854e1 100644 --- a/src/tls/tls_alert.cpp +++ b/src/tls/tls_alert.cpp @@ -90,9 +90,14 @@ std::string Alert::type_string() const case UNSUPPORTED_EXTENSION: return "unsupported_extension"; + case CERTIFICATE_UNOBTAINABLE: + return "certificate_unobtainable"; case UNRECOGNIZED_NAME: return "unrecognized_name"; - + case BAD_CERTIFICATE_STATUS_RESPONSE: + return "bad_certificate_status_response"; + case BAD_CERTIFICATE_HASH_VALUE: + return "bad_certificate_hash_value"; case UNKNOWN_PSK_IDENTITY: return "unknown_psk_identity"; |