| OLD | NEW |
| 1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | 4 |
| 5 /* SSL-specific security error codes */ | 5 /* SSL-specific security error codes */ |
| 6 /* caller must include "sslerr.h" */ | 6 /* caller must include "sslerr.h" */ |
| 7 | 7 |
| 8 ER3(SSL_ERROR_EXPORT_ONLY_SERVER, SSL_ERROR_BASE + 0, | 8 ER3(SSL_ERROR_EXPORT_ONLY_SERVER, SSL_ERROR_BASE + 0, |
| 9 "Unable to communicate securely. Peer does not support high-grade encryption.") | 9 "Unable to communicate securely. Peer does not support high-grade encryption.") |
| 10 | 10 |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 ER3(SSL_ERROR_INCORRECT_SIGNATURE_ALGORITHM, (SSL_ERROR_BASE + 128), | 413 ER3(SSL_ERROR_INCORRECT_SIGNATURE_ALGORITHM, (SSL_ERROR_BASE + 128), |
| 414 "Incorrect signature algorithm specified in a digitally-signed element.") | 414 "Incorrect signature algorithm specified in a digitally-signed element.") |
| 415 | 415 |
| 416 ER3(SSL_ERROR_NEXT_PROTOCOL_NO_CALLBACK, (SSL_ERROR_BASE + 129), | 416 ER3(SSL_ERROR_NEXT_PROTOCOL_NO_CALLBACK, (SSL_ERROR_BASE + 129), |
| 417 "The next protocol negotiation extension was enabled, but the callback was clear
ed prior to being needed.") | 417 "The next protocol negotiation extension was enabled, but the callback was clear
ed prior to being needed.") |
| 418 | 418 |
| 419 ER3(SSL_ERROR_NEXT_PROTOCOL_NO_PROTOCOL, (SSL_ERROR_BASE + 130), | 419 ER3(SSL_ERROR_NEXT_PROTOCOL_NO_PROTOCOL, (SSL_ERROR_BASE + 130), |
| 420 "The server supports no protocols that the client advertises in the ALPN extensi
on.") | 420 "The server supports no protocols that the client advertises in the ALPN extensi
on.") |
| 421 | 421 |
| 422 ER3(SSL_ERROR_INAPPROPRIATE_FALLBACK_ALERT, (SSL_ERROR_BASE + 131), | 422 ER3(SSL_ERROR_INAPPROPRIATE_FALLBACK_ALERT, (SSL_ERROR_BASE + 131), |
| 423 "The connection was using a lesser TLS version as a result of a previous" | 423 "The server rejected the handshake because the client downgraded to a lower " |
| 424 " handshake failure, but the server indicated that it should not have been" | 424 "TLS version than the server supports.") |
| 425 " needed.") | |
| 426 | 425 |
| 427 ER3(SSL_ERROR_BAD_CHANNEL_ID_DATA, (SSL_ERROR_BASE + 132), | 426 ER3(SSL_ERROR_BAD_CHANNEL_ID_DATA, (SSL_ERROR_BASE + 132), |
| 428 "SSL received a malformed TLS Channel ID extension.") | 427 "SSL received a malformed TLS Channel ID extension.") |
| 429 | 428 |
| 430 ER3(SSL_ERROR_INVALID_CHANNEL_ID_KEY, (SSL_ERROR_BASE + 133), | 429 ER3(SSL_ERROR_INVALID_CHANNEL_ID_KEY, (SSL_ERROR_BASE + 133), |
| 431 "The application provided an invalid TLS Channel ID key.") | 430 "The application provided an invalid TLS Channel ID key.") |
| 432 | 431 |
| 433 ER3(SSL_ERROR_GET_CHANNEL_ID_FAILED, (SSL_ERROR_BASE + 134), | 432 ER3(SSL_ERROR_GET_CHANNEL_ID_FAILED, (SSL_ERROR_BASE + 134), |
| 434 "The application could not get a TLS Channel ID.") | 433 "The application could not get a TLS Channel ID.") |
| OLD | NEW |