Bug 540332, Update PSM to include the latest NSS error codes

Patch v3, yet another string, r=wtc
This commit is contained in:
Kai Engert 2010-02-18 13:21:44 +01:00
parent dd9376eca9
commit 5cdb1c39f0
2 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,7 @@ SSL_ERROR_RX_MALFORMED_NEW_SESSION_TICKET=SSL received a malformed New Session T
SSL_ERROR_DECOMPRESSION_FAILURE=SSL received a compressed record that could not be decompressed.
SSL_ERROR_RENEGOTIATION_NOT_ALLOWED=Renegotiation is not allowed on this SSL socket.
SSL_ERROR_UNSAFE_NEGOTIATION=Peer attempted old style (potentially vulnerable) handshake.
SSL_ERROR_RX_UNEXPECTED_UNCOMPRESSED_RECORD=SSL received an unexpected uncompressed record.
SEC_ERROR_IO=An I/O error occurred during security authorization.
SEC_ERROR_LIBRARY_FAILURE=security library failure.
SEC_ERROR_BAD_DATA=security library: received bad data.

View File

@ -159,6 +159,7 @@ nsNSSErrors::getDefaultErrorStringName(PRInt32 err)
case SSL_ERROR_DECOMPRESSION_FAILURE: id_str = "SSL_ERROR_DECOMPRESSION_FAILURE"; break;
case SSL_ERROR_RENEGOTIATION_NOT_ALLOWED: id_str = "SSL_ERROR_RENEGOTIATION_NOT_ALLOWED"; break;
case SSL_ERROR_UNSAFE_NEGOTIATION: id_str = "SSL_ERROR_UNSAFE_NEGOTIATION"; break;
case SSL_ERROR_RX_UNEXPECTED_UNCOMPRESSED_RECORD: id_str = "SSL_ERROR_RX_UNEXPECTED_UNCOMPRESSED_RECORD"; break;
case SEC_ERROR_IO: id_str = "SEC_ERROR_IO"; break;
case SEC_ERROR_LIBRARY_FAILURE: id_str = "SEC_ERROR_LIBRARY_FAILURE"; break;
case SEC_ERROR_BAD_DATA: id_str = "SEC_ERROR_BAD_DATA"; break;