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

Side by Side Diff: nss/mozilla/security/nss/lib/ssl/sslerr.h

Issue 3135002: Update to NSS 3.12.7 and NSPR 4.8.6.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 4 months 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
OLDNEW
1 /* 1 /*
2 * Enumeration of all SSL-specific error codes. 2 * Enumeration of all SSL-specific error codes.
3 * 3 *
4 * ***** BEGIN LICENSE BLOCK ***** 4 * ***** BEGIN LICENSE BLOCK *****
5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 * 6 *
7 * The contents of this file are subject to the Mozilla Public License Version 7 * The contents of this file are subject to the Mozilla Public License Version
8 * 1.1 (the "License"); you may not use this file except in compliance with 8 * 1.1 (the "License"); you may not use this file except in compliance with
9 * the License. You may obtain a copy of the License at 9 * the License. You may obtain a copy of the License at
10 * http://www.mozilla.org/MPL/ 10 * http://www.mozilla.org/MPL/
(...skipping 18 matching lines...) Expand all
29 * in which case the provisions of the GPL or the LGPL are applicable instead 29 * in which case the provisions of the GPL or the LGPL are applicable instead
30 * of those above. If you wish to allow use of your version of this file only 30 * of those above. If you wish to allow use of your version of this file only
31 * under the terms of either the GPL or the LGPL, and not to allow others to 31 * under the terms of either the GPL or the LGPL, and not to allow others to
32 * use your version of this file under the terms of the MPL, indicate your 32 * use your version of this file under the terms of the MPL, indicate your
33 * decision by deleting the provisions above and replace them with the notice 33 * decision by deleting the provisions above and replace them with the notice
34 * and other provisions required by the GPL or the LGPL. If you do not delete 34 * and other provisions required by the GPL or the LGPL. If you do not delete
35 * the provisions above, a recipient may use your version of this file under 35 * the provisions above, a recipient may use your version of this file under
36 * the terms of any one of the MPL, the GPL or the LGPL. 36 * the terms of any one of the MPL, the GPL or the LGPL.
37 * 37 *
38 * ***** END LICENSE BLOCK ***** */ 38 * ***** END LICENSE BLOCK ***** */
39 /* $Id: sslerr.h,v 1.10 2010/02/03 03:44:29 wtc%google.com Exp $ */ 39 /* $Id: sslerr.h,v 1.11 2010/06/24 09:24:18 nelson%bolyard.com Exp $ */
40 #ifndef __SSL_ERR_H_ 40 #ifndef __SSL_ERR_H_
41 #define __SSL_ERR_H_ 41 #define __SSL_ERR_H_
42 42
43 43
44 #define SSL_ERROR_BASE (-0x3000) 44 #define SSL_ERROR_BASE (-0x3000)
45 #define SSL_ERROR_LIMIT (SSL_ERROR_BASE + 1000) 45 #define SSL_ERROR_LIMIT (SSL_ERROR_BASE + 1000)
46 46
47 #define IS_SSL_ERROR(code) \ 47 #define IS_SSL_ERROR(code) \
48 (((code) >= SSL_ERROR_BASE) && ((code) < SSL_ERROR_LIMIT)) 48 (((code) >= SSL_ERROR_BASE) && ((code) < SSL_ERROR_LIMIT))
49 49
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 SSL_ERROR_UNSUPPORTED_CERT_ALERT = (SSL_ERROR_BASE + 63), 142 SSL_ERROR_UNSUPPORTED_CERT_ALERT = (SSL_ERROR_BASE + 63),
143 SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT = (SSL_ERROR_BASE + 64), 143 SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT = (SSL_ERROR_BASE + 64),
144 144
145 SSL_ERROR_GENERATE_RANDOM_FAILURE = (SSL_ERROR_BASE + 65), 145 SSL_ERROR_GENERATE_RANDOM_FAILURE = (SSL_ERROR_BASE + 65),
146 SSL_ERROR_SIGN_HASHES_FAILURE = (SSL_ERROR_BASE + 66), 146 SSL_ERROR_SIGN_HASHES_FAILURE = (SSL_ERROR_BASE + 66),
147 SSL_ERROR_EXTRACT_PUBLIC_KEY_FAILURE = (SSL_ERROR_BASE + 67), 147 SSL_ERROR_EXTRACT_PUBLIC_KEY_FAILURE = (SSL_ERROR_BASE + 67),
148 SSL_ERROR_SERVER_KEY_EXCHANGE_FAILURE = (SSL_ERROR_BASE + 68), 148 SSL_ERROR_SERVER_KEY_EXCHANGE_FAILURE = (SSL_ERROR_BASE + 68),
149 SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE = (SSL_ERROR_BASE + 69), 149 SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE = (SSL_ERROR_BASE + 69),
150 150
151 SSL_ERROR_ENCRYPTION_FAILURE = (SSL_ERROR_BASE + 70), 151 SSL_ERROR_ENCRYPTION_FAILURE = (SSL_ERROR_BASE + 70),
152 SSL_ERROR_DECRYPTION_FAILURE» » = (SSL_ERROR_BASE + 71), 152 SSL_ERROR_DECRYPTION_FAILURE» » = (SSL_ERROR_BASE + 71), /* don't use */
153 SSL_ERROR_SOCKET_WRITE_FAILURE = (SSL_ERROR_BASE + 72), 153 SSL_ERROR_SOCKET_WRITE_FAILURE = (SSL_ERROR_BASE + 72),
154 154
155 SSL_ERROR_MD5_DIGEST_FAILURE = (SSL_ERROR_BASE + 73), 155 SSL_ERROR_MD5_DIGEST_FAILURE = (SSL_ERROR_BASE + 73),
156 SSL_ERROR_SHA_DIGEST_FAILURE = (SSL_ERROR_BASE + 74), 156 SSL_ERROR_SHA_DIGEST_FAILURE = (SSL_ERROR_BASE + 74),
157 SSL_ERROR_MAC_COMPUTATION_FAILURE = (SSL_ERROR_BASE + 75), 157 SSL_ERROR_MAC_COMPUTATION_FAILURE = (SSL_ERROR_BASE + 75),
158 SSL_ERROR_SYM_KEY_CONTEXT_FAILURE = (SSL_ERROR_BASE + 76), 158 SSL_ERROR_SYM_KEY_CONTEXT_FAILURE = (SSL_ERROR_BASE + 76),
159 SSL_ERROR_SYM_KEY_UNWRAP_FAILURE = (SSL_ERROR_BASE + 77), 159 SSL_ERROR_SYM_KEY_UNWRAP_FAILURE = (SSL_ERROR_BASE + 77),
160 SSL_ERROR_PUB_KEY_SIZE_LIMIT_EXCEEDED = (SSL_ERROR_BASE + 78), 160 SSL_ERROR_PUB_KEY_SIZE_LIMIT_EXCEEDED = (SSL_ERROR_BASE + 78),
161 SSL_ERROR_IV_PARAM_FAILURE = (SSL_ERROR_BASE + 79), 161 SSL_ERROR_IV_PARAM_FAILURE = (SSL_ERROR_BASE + 79),
162 SSL_ERROR_INIT_CIPHER_SUITE_FAILURE = (SSL_ERROR_BASE + 80), 162 SSL_ERROR_INIT_CIPHER_SUITE_FAILURE = (SSL_ERROR_BASE + 80),
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 SSL_ERROR_RENEGOTIATION_NOT_ALLOWED = (SSL_ERROR_BASE + 112), 199 SSL_ERROR_RENEGOTIATION_NOT_ALLOWED = (SSL_ERROR_BASE + 112),
200 SSL_ERROR_UNSAFE_NEGOTIATION = (SSL_ERROR_BASE + 113), 200 SSL_ERROR_UNSAFE_NEGOTIATION = (SSL_ERROR_BASE + 113),
201 201
202 SSL_ERROR_RX_UNEXPECTED_UNCOMPRESSED_RECORD = (SSL_ERROR_BASE + 114), 202 SSL_ERROR_RX_UNEXPECTED_UNCOMPRESSED_RECORD = (SSL_ERROR_BASE + 114),
203 203
204 SSL_ERROR_END_OF_LIST /* let the c compiler determine the value of this. */ 204 SSL_ERROR_END_OF_LIST /* let the c compiler determine the value of this. */
205 } SSLErrorCodes; 205 } SSLErrorCodes;
206 #endif /* NO_SECURITY_ERROR_ENUM */ 206 #endif /* NO_SECURITY_ERROR_ENUM */
207 207
208 #endif /* __SSL_ERR_H_ */ 208 #endif /* __SSL_ERR_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698