Define alerts and error codes for TLS Hello extensions. Bug 226271.
authornelson%bolyard.com
Wed, 17 Aug 2011 05:01:48 +0000
changeset 10080 bf46e6821bbcf0980970dfd306dddfb637c86db7
parent 10079 88a34585ef850f62fab46d3cc4bd617aa85285f5
child 10081 541e3bad0f83b709fae6b6491e193ba8828d0973
push idunknown
push userunknown
push dateunknown
bugs226271
Define alerts and error codes for TLS Hello extensions. Bug 226271. r=julien.pierre
security/nss/lib/ssl/SSLerrs.h
--- a/security/nss/lib/ssl/SSLerrs.h
+++ b/security/nss/lib/ssl/SSLerrs.h
@@ -365,8 +365,22 @@ ER3(SSL_ERROR_USER_CANCELED_ALERT       
 "Peer user canceled handshake.")
 
 ER3(SSL_ERROR_NO_RENEGOTIATION_ALERT      , (SSL_ERROR_BASE + 102),
 "Peer does not permit renegotiation of SSL security parameters.")
 
 ER3(SSL_ERROR_SERVER_CACHE_NOT_CONFIGURED , (SSL_ERROR_BASE + 103),
 "SSL server cache not configured and not disabled for this socket.")
 
+ER3(SSL_ERROR_UNSUPPORTED_EXTENSION_ALERT    , (SSL_ERROR_BASE + 104),
+"SSL peer does not support requested TLS hello extension.")
+
+ER3(SSL_ERROR_CERTIFICATE_UNOBTAINABLE_ALERT , (SSL_ERROR_BASE + 105),
+"SSL peer could not obtain your certificate from the supplied URL.")
+
+ER3(SSL_ERROR_UNRECOGNIZED_NAME_ALERT        , (SSL_ERROR_BASE + 106),
+"SSL peer has no certificate for the requested DNS name.")
+
+ER3(SSL_ERROR_BAD_CERT_STATUS_RESPONSE_ALERT , (SSL_ERROR_BASE + 107),
+"SSL peer was unable to get an OCSP response for its certificate.")
+
+ER3(SSL_ERROR_BAD_CERT_HASH_VALUE_ALERT      , (SSL_ERROR_BASE + 108),
+"SSL peer reported bad certificate hash value.")