Bug 537356: Implement new safe SSL3 & TLS renegotiation, r=wtc
authornelson%bolyard.com
Wed, 17 Aug 2011 05:01:59 +0000
changeset 10091 ea71cbf4dee57ef68423fad7ea6de6cf3410f058
parent 10090 0c3329ec3f98ce69da0f2277115afb4e2d937b9b
child 10092 ea4525e3993be754fb5e84794be21780e9160910
push idunknown
push userunknown
push dateunknown
reviewerswtc
bugs537356
Bug 537356: Implement new safe SSL3 & TLS renegotiation, r=wtc
security/nss/lib/ssl/SSLerrs.h
--- a/security/nss/lib/ssl/SSLerrs.h
+++ b/security/nss/lib/ssl/SSLerrs.h
@@ -391,8 +391,11 @@ ER3(SSL_ERROR_RX_UNEXPECTED_NEW_SESSION_
 ER3(SSL_ERROR_RX_MALFORMED_NEW_SESSION_TICKET, (SSL_ERROR_BASE + 110),
 "SSL received a malformed New Session Ticket handshake message.")
 
 ER3(SSL_ERROR_DECOMPRESSION_FAILURE,           (SSL_ERROR_BASE + 111),
 "SSL received a compressed record that could not be decompressed.")
 
 ER3(SSL_ERROR_RENEGOTIATION_NOT_ALLOWED,       (SSL_ERROR_BASE + 112),
 "Renegotiation is not allowed on this SSL socket.")
+
+ER3(SSL_ERROR_UNSAFE_NEGOTIATION,              (SSL_ERROR_BASE + 113),
+"Peer attempted old style (potentially vulnerable) handshake.")