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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 server rejected the handshake because the client downgraded to a lower " | 423 "The server rejected the handshake because the client downgraded to a lower " |
424 "TLS version than the server supports.") | 424 "TLS version than the server supports.") |
425 | 425 |
426 ER3(SSL_ERROR_BAD_CHANNEL_ID_DATA, (SSL_ERROR_BASE + 132), | 426 ER3(SSL_ERROR_WEAK_SERVER_CERT_KEY, (SSL_ERROR_BASE + 132), |
| 427 "The server certificate included a public key that was too weak.") |
| 428 |
| 429 ER3(SSL_ERROR_RX_SHORT_DTLS_READ, (SSL_ERROR_BASE + 133), |
| 430 "Not enough room in buffer for DTLS record.") |
| 431 |
| 432 ER3(SSL_ERROR_NO_SUPPORTED_SIGNATURE_ALGORITHM, (SSL_ERROR_BASE + 134), |
| 433 "No supported TLS signature algorithm was configured.") |
| 434 |
| 435 ER3(SSL_ERROR_UNSUPPORTED_SIGNATURE_ALGORITHM, (SSL_ERROR_BASE + 135), |
| 436 "The peer used an unsupported combination of signature and hash algorithm.") |
| 437 |
| 438 ER3(SSL_ERROR_MISSING_EXTENDED_MASTER_SECRET, (SSL_ERROR_BASE + 136), |
| 439 "The peer tried to resume without a correct extended_master_secret extension") |
| 440 |
| 441 ER3(SSL_ERROR_UNEXPECTED_EXTENDED_MASTER_SECRET, (SSL_ERROR_BASE + 137), |
| 442 "The peer tried to resume with an unexpected extended_master_secret extension") |
| 443 |
| 444 ER3(SSL_ERROR_BAD_CHANNEL_ID_DATA, (SSL_ERROR_BASE + 138), |
427 "SSL received a malformed TLS Channel ID extension.") | 445 "SSL received a malformed TLS Channel ID extension.") |
428 | 446 |
429 ER3(SSL_ERROR_INVALID_CHANNEL_ID_KEY, (SSL_ERROR_BASE + 133), | 447 ER3(SSL_ERROR_INVALID_CHANNEL_ID_KEY, (SSL_ERROR_BASE + 139), |
430 "The application provided an invalid TLS Channel ID key.") | 448 "The application provided an invalid TLS Channel ID key.") |
431 | 449 |
432 ER3(SSL_ERROR_GET_CHANNEL_ID_FAILED, (SSL_ERROR_BASE + 134), | 450 ER3(SSL_ERROR_GET_CHANNEL_ID_FAILED, (SSL_ERROR_BASE + 140), |
433 "The application could not get a TLS Channel ID.") | 451 "The application could not get a TLS Channel ID.") |
OLD | NEW |