| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Enumeration of all SSL-specific error codes. | 2 * Enumeration of all SSL-specific error codes. |
| 3 * | 3 * |
| 4 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
| 5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 7 /* $Id: sslerr.h,v 1.25 2012/07/13 00:51:57 wtc%google.com Exp $ */ | 7 /* $Id$ */ |
| 8 #ifndef __SSL_ERR_H_ | 8 #ifndef __SSL_ERR_H_ |
| 9 #define __SSL_ERR_H_ | 9 #define __SSL_ERR_H_ |
| 10 | 10 |
| 11 | 11 |
| 12 #define SSL_ERROR_BASE (-0x3000) | 12 #define SSL_ERROR_BASE (-0x3000) |
| 13 #define SSL_ERROR_LIMIT (SSL_ERROR_BASE + 1000) | 13 #define SSL_ERROR_LIMIT (SSL_ERROR_BASE + 1000) |
| 14 | 14 |
| 15 #define IS_SSL_ERROR(code) \ | 15 #define IS_SSL_ERROR(code) \ |
| 16 (((code) >= SSL_ERROR_BASE) && ((code) < SSL_ERROR_LIMIT)) | 16 (((code) >= SSL_ERROR_BASE) && ((code) < SSL_ERROR_LIMIT)) |
| 17 | 17 |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 | 192 |
| 193 SSL_ERROR_BAD_CHANNEL_ID_DATA = (SSL_ERROR_BASE + 126), | 193 SSL_ERROR_BAD_CHANNEL_ID_DATA = (SSL_ERROR_BASE + 126), |
| 194 SSL_ERROR_INVALID_CHANNEL_ID_KEY = (SSL_ERROR_BASE + 127), | 194 SSL_ERROR_INVALID_CHANNEL_ID_KEY = (SSL_ERROR_BASE + 127), |
| 195 SSL_ERROR_GET_CHANNEL_ID_FAILED = (SSL_ERROR_BASE + 128), | 195 SSL_ERROR_GET_CHANNEL_ID_FAILED = (SSL_ERROR_BASE + 128), |
| 196 | 196 |
| 197 SSL_ERROR_END_OF_LIST /* let the c compiler determine the value of this. */ | 197 SSL_ERROR_END_OF_LIST /* let the c compiler determine the value of this. */ |
| 198 } SSLErrorCodes; | 198 } SSLErrorCodes; |
| 199 #endif /* NO_SECURITY_ERROR_ENUM */ | 199 #endif /* NO_SECURITY_ERROR_ENUM */ |
| 200 | 200 |
| 201 #endif /* __SSL_ERR_H_ */ | 201 #endif /* __SSL_ERR_H_ */ |
| OLD | NEW |