diff options
author | Martin Thomson <martin.thomson@gmail.com> | 2018-05-01 16:57:51 +1000 |
---|---|---|
committer | Martin Thomson <martin.thomson@gmail.com> | 2018-05-01 16:57:51 +1000 |
commit | e308d6333305239fdbb817bfeff8c277bf6cdb5b (patch) | |
tree | f7564fb63898420baf669fe0fe5d9dd3ec24f11a /cpputil | |
parent | ec2da8b5a7e53448e0a1f1f6fff1dd19302aa11d (diff) | |
download | nss-hg-e308d6333305239fdbb817bfeff8c277bf6cdb5b.tar.gz |
Bug 1486667 - Test that rejecting a server certificate works, r=ueno
Diffstat (limited to 'cpputil')
-rw-r--r-- | cpputil/tls_parser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpputil/tls_parser.h b/cpputil/tls_parser.h index 4c9dbce1b..cd9e28fc3 100644 --- a/cpputil/tls_parser.h +++ b/cpputil/tls_parser.h @@ -41,6 +41,8 @@ const uint8_t kTlsAlertBadRecordMac = 20; const uint8_t kTlsAlertRecordOverflow = 22; const uint8_t kTlsAlertHandshakeFailure = 40; const uint8_t kTlsAlertBadCertificate = 42; +const uint8_t kTlsAlertCertificateRevoked = 44; +const uint8_t kTlsAlertCertificateExpired = 45; const uint8_t kTlsAlertIllegalParameter = 47; const uint8_t kTlsAlertDecodeError = 50; const uint8_t kTlsAlertDecryptError = 51; |