Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(983)

Side by Side Diff: net/third_party/nss/ssl/SSLerrs.h

Issue 11275240: Update net/third_party/nss/ssl to NSS 3.14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Upload before commit Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/third_party/nss/ssl/Makefile ('k') | net/third_party/nss/ssl/authcert.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* ***** BEGIN LICENSE BLOCK ***** 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is the Netscape security libraries.
15 *
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1994-2000
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 *
23 * Alternatively, the contents of this file may be used under the terms of
24 * either the GNU General Public License Version 2 or later (the "GPL"), or
25 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26 * in which case the provisions of the GPL or the LGPL are applicable instead
27 * of those above. If you wish to allow use of your version of this file only
28 * under the terms of either the GPL or the LGPL, and not to allow others to
29 * use your version of this file under the terms of the MPL, indicate your
30 * decision by deleting the provisions above and replace them with the notice
31 * and other provisions required by the GPL or the LGPL. If you do not delete
32 * the provisions above, a recipient may use your version of this file under
33 * the terms of any one of the MPL, the GPL or the LGPL.
34 *
35 * ***** END LICENSE BLOCK ***** */
36 4
37 /* SSL-specific security error codes */ 5 /* SSL-specific security error codes */
38 /* caller must include "sslerr.h" */ 6 /* caller must include "sslerr.h" */
39 7
40 ER3(SSL_ERROR_EXPORT_ONLY_SERVER, SSL_ERROR_BASE + 0, 8 ER3(SSL_ERROR_EXPORT_ONLY_SERVER, SSL_ERROR_BASE + 0,
41 "Unable to communicate securely. Peer does not support high-grade encryption.") 9 "Unable to communicate securely. Peer does not support high-grade encryption.")
42 10
43 ER3(SSL_ERROR_US_ONLY_SERVER, SSL_ERROR_BASE + 1, 11 ER3(SSL_ERROR_US_ONLY_SERVER, SSL_ERROR_BASE + 1,
44 "Unable to communicate securely. Peer requires high-grade encryption which is n ot supported.") 12 "Unable to communicate securely. Peer requires high-grade encryption which is n ot supported.")
45 13
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 ER3(SSL_ERROR_TOKEN_INSERTION_REMOVAL , (SSL_ERROR_BASE + 83), 278 ER3(SSL_ERROR_TOKEN_INSERTION_REMOVAL , (SSL_ERROR_BASE + 83),
311 "PKCS#11 token was inserted or removed while operation was in progress.") 279 "PKCS#11 token was inserted or removed while operation was in progress.")
312 280
313 ER3(SSL_ERROR_TOKEN_SLOT_NOT_FOUND , (SSL_ERROR_BASE + 84), 281 ER3(SSL_ERROR_TOKEN_SLOT_NOT_FOUND , (SSL_ERROR_BASE + 84),
314 "No PKCS#11 token could be found to do a required operation.") 282 "No PKCS#11 token could be found to do a required operation.")
315 283
316 ER3(SSL_ERROR_NO_COMPRESSION_OVERLAP , (SSL_ERROR_BASE + 85), 284 ER3(SSL_ERROR_NO_COMPRESSION_OVERLAP , (SSL_ERROR_BASE + 85),
317 "Cannot communicate securely with peer: no common compression algorithm(s).") 285 "Cannot communicate securely with peer: no common compression algorithm(s).")
318 286
319 ER3(SSL_ERROR_HANDSHAKE_NOT_COMPLETED , (SSL_ERROR_BASE + 86), 287 ER3(SSL_ERROR_HANDSHAKE_NOT_COMPLETED , (SSL_ERROR_BASE + 86),
320 "Cannot initiate another SSL handshake until current handshake is complete.") 288 "Cannot perform the operation until the handshake is complete.")
321 289
322 ER3(SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE , (SSL_ERROR_BASE + 87), 290 ER3(SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE , (SSL_ERROR_BASE + 87),
323 "Received incorrect handshakes hash values from peer.") 291 "Received incorrect handshakes hash values from peer.")
324 292
325 ER3(SSL_ERROR_CERT_KEA_MISMATCH , (SSL_ERROR_BASE + 88), 293 ER3(SSL_ERROR_CERT_KEA_MISMATCH , (SSL_ERROR_BASE + 88),
326 "The certificate provided cannot be used with the selected key exchange algorith m.") 294 "The certificate provided cannot be used with the selected key exchange algorith m.")
327 295
328 ER3(SSL_ERROR_NO_TRUSTED_SSL_CLIENT_CA , (SSL_ERROR_BASE + 89), 296 ER3(SSL_ERROR_NO_TRUSTED_SSL_CLIENT_CA , (SSL_ERROR_BASE + 89),
329 "No certificate authority is trusted for SSL client authentication.") 297 "No certificate authority is trusted for SSL client authentication.")
330 298
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 382
415 ER3(SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_SERVERS, (SSL_ERROR_BASE + 118), 383 ER3(SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_SERVERS, (SSL_ERROR_BASE + 118),
416 "SSL feature not supported for servers.") 384 "SSL feature not supported for servers.")
417 385
418 ER3(SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_CLIENTS, (SSL_ERROR_BASE + 119), 386 ER3(SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_CLIENTS, (SSL_ERROR_BASE + 119),
419 "SSL feature not supported for clients.") 387 "SSL feature not supported for clients.")
420 388
421 ER3(SSL_ERROR_INVALID_VERSION_RANGE, (SSL_ERROR_BASE + 120), 389 ER3(SSL_ERROR_INVALID_VERSION_RANGE, (SSL_ERROR_BASE + 120),
422 "SSL version range is not valid.") 390 "SSL version range is not valid.")
423 391
424 ER3(SSL_ERROR_RX_UNEXPECTED_CERT_STATUS, (SSL_ERROR_BASE + 121), 392 ER3(SSL_ERROR_CIPHER_DISALLOWED_FOR_VERSION, (SSL_ERROR_BASE + 121),
425 "SSL received an unexpected Certificate Status handshake message.") 393 "SSL peer selected a cipher suite disallowed for the selected protocol version." )
426 394
427 ER3(SSL_ERROR_RX_MALFORMED_HELLO_VERIFY_REQUEST, (SSL_ERROR_BASE + 122), 395 ER3(SSL_ERROR_RX_MALFORMED_HELLO_VERIFY_REQUEST, (SSL_ERROR_BASE + 122),
428 "SSL received a malformed Hello Verify Request handshake message.") 396 "SSL received a malformed Hello Verify Request handshake message.")
429 397
430 ER3(SSL_ERROR_RX_UNEXPECTED_HELLO_VERIFY_REQUEST, (SSL_ERROR_BASE + 123), 398 ER3(SSL_ERROR_RX_UNEXPECTED_HELLO_VERIFY_REQUEST, (SSL_ERROR_BASE + 123),
431 "SSL received an unexpected Hello Verify Request handshake message.") 399 "SSL received an unexpected Hello Verify Request handshake message.")
432 400
433 ER3(SSL_ERROR_BAD_CHANNEL_ID_DATA, (SSL_ERROR_BASE + 124), 401 ER3(SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_VERSION, (SSL_ERROR_BASE + 124),
402 "SSL feature not supported for the protocol version.")
403
404 ER3(SSL_ERROR_RX_UNEXPECTED_CERT_STATUS, (SSL_ERROR_BASE + 125),
405 "SSL received an unexpected Certificate Status handshake message.")
406
407 ER3(SSL_ERROR_BAD_CHANNEL_ID_DATA, (SSL_ERROR_BASE + 126),
434 "SSL received a malformed TLS Channel ID extension.") 408 "SSL received a malformed TLS Channel ID extension.")
435 409
436 ER3(SSL_ERROR_INVALID_CHANNEL_ID_KEY, (SSL_ERROR_BASE + 125), 410 ER3(SSL_ERROR_INVALID_CHANNEL_ID_KEY, (SSL_ERROR_BASE + 127),
437 "The application provided an invalid TLS Channel ID key.") 411 "The application provided an invalid TLS Channel ID key.")
438 412
439 ER3(SSL_ERROR_GET_CHANNEL_ID_FAILED, (SSL_ERROR_BASE + 126), 413 ER3(SSL_ERROR_GET_CHANNEL_ID_FAILED, (SSL_ERROR_BASE + 128),
440 "The application could not get a TLS Channel ID.") 414 "The application could not get a TLS Channel ID.")
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/Makefile ('k') | net/third_party/nss/ssl/authcert.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698