Copy as Markdown

Other Tools

/* automatically generated by rust-bindgen 0.69.4 */
pub mod SSLErrorCodes {
pub type Type = ::std::os::raw::c_int;
pub const SSL_ERROR_EXPORT_ONLY_SERVER: Type = -12288;
pub const SSL_ERROR_US_ONLY_SERVER: Type = -12287;
pub const SSL_ERROR_NO_CYPHER_OVERLAP: Type = -12286;
pub const SSL_ERROR_NO_CERTIFICATE: Type = -12285;
pub const SSL_ERROR_BAD_CERTIFICATE: Type = -12284;
pub const SSL_ERROR_UNUSED_5: Type = -12283;
pub const SSL_ERROR_BAD_CLIENT: Type = -12282;
pub const SSL_ERROR_BAD_SERVER: Type = -12281;
pub const SSL_ERROR_UNSUPPORTED_CERTIFICATE_TYPE: Type = -12280;
pub const SSL_ERROR_UNSUPPORTED_VERSION: Type = -12279;
pub const SSL_ERROR_UNUSED_10: Type = -12278;
pub const SSL_ERROR_WRONG_CERTIFICATE: Type = -12277;
pub const SSL_ERROR_BAD_CERT_DOMAIN: Type = -12276;
pub const SSL_ERROR_POST_WARNING: Type = -12275;
pub const SSL_ERROR_SSL2_DISABLED: Type = -12274;
pub const SSL_ERROR_BAD_MAC_READ: Type = -12273;
pub const SSL_ERROR_BAD_MAC_ALERT: Type = -12272;
pub const SSL_ERROR_BAD_CERT_ALERT: Type = -12271;
pub const SSL_ERROR_REVOKED_CERT_ALERT: Type = -12270;
pub const SSL_ERROR_EXPIRED_CERT_ALERT: Type = -12269;
pub const SSL_ERROR_SSL_DISABLED: Type = -12268;
pub const SSL_ERROR_FORTEZZA_PQG: Type = -12267;
pub const SSL_ERROR_UNKNOWN_CIPHER_SUITE: Type = -12266;
pub const SSL_ERROR_NO_CIPHERS_SUPPORTED: Type = -12265;
pub const SSL_ERROR_BAD_BLOCK_PADDING: Type = -12264;
pub const SSL_ERROR_RX_RECORD_TOO_LONG: Type = -12263;
pub const SSL_ERROR_TX_RECORD_TOO_LONG: Type = -12262;
pub const SSL_ERROR_RX_MALFORMED_HELLO_REQUEST: Type = -12261;
pub const SSL_ERROR_RX_MALFORMED_CLIENT_HELLO: Type = -12260;
pub const SSL_ERROR_RX_MALFORMED_SERVER_HELLO: Type = -12259;
pub const SSL_ERROR_RX_MALFORMED_CERTIFICATE: Type = -12258;
pub const SSL_ERROR_RX_MALFORMED_SERVER_KEY_EXCH: Type = -12257;
pub const SSL_ERROR_RX_MALFORMED_CERT_REQUEST: Type = -12256;
pub const SSL_ERROR_RX_MALFORMED_HELLO_DONE: Type = -12255;
pub const SSL_ERROR_RX_MALFORMED_CERT_VERIFY: Type = -12254;
pub const SSL_ERROR_RX_MALFORMED_CLIENT_KEY_EXCH: Type = -12253;
pub const SSL_ERROR_RX_MALFORMED_FINISHED: Type = -12252;
pub const SSL_ERROR_RX_MALFORMED_CHANGE_CIPHER: Type = -12251;
pub const SSL_ERROR_RX_MALFORMED_ALERT: Type = -12250;
pub const SSL_ERROR_RX_MALFORMED_HANDSHAKE: Type = -12249;
pub const SSL_ERROR_RX_MALFORMED_APPLICATION_DATA: Type = -12248;
pub const SSL_ERROR_RX_UNEXPECTED_HELLO_REQUEST: Type = -12247;
pub const SSL_ERROR_RX_UNEXPECTED_CLIENT_HELLO: Type = -12246;
pub const SSL_ERROR_RX_UNEXPECTED_SERVER_HELLO: Type = -12245;
pub const SSL_ERROR_RX_UNEXPECTED_CERTIFICATE: Type = -12244;
pub const SSL_ERROR_RX_UNEXPECTED_SERVER_KEY_EXCH: Type = -12243;
pub const SSL_ERROR_RX_UNEXPECTED_CERT_REQUEST: Type = -12242;
pub const SSL_ERROR_RX_UNEXPECTED_HELLO_DONE: Type = -12241;
pub const SSL_ERROR_RX_UNEXPECTED_CERT_VERIFY: Type = -12240;
pub const SSL_ERROR_RX_UNEXPECTED_CLIENT_KEY_EXCH: Type = -12239;
pub const SSL_ERROR_RX_UNEXPECTED_FINISHED: Type = -12238;
pub const SSL_ERROR_RX_UNEXPECTED_CHANGE_CIPHER: Type = -12237;
pub const SSL_ERROR_RX_UNEXPECTED_ALERT: Type = -12236;
pub const SSL_ERROR_RX_UNEXPECTED_HANDSHAKE: Type = -12235;
pub const SSL_ERROR_RX_UNEXPECTED_APPLICATION_DATA: Type = -12234;
pub const SSL_ERROR_RX_UNKNOWN_RECORD_TYPE: Type = -12233;
pub const SSL_ERROR_RX_UNKNOWN_HANDSHAKE: Type = -12232;
pub const SSL_ERROR_RX_UNKNOWN_ALERT: Type = -12231;
pub const SSL_ERROR_CLOSE_NOTIFY_ALERT: Type = -12230;
pub const SSL_ERROR_HANDSHAKE_UNEXPECTED_ALERT: Type = -12229;
pub const SSL_ERROR_DECOMPRESSION_FAILURE_ALERT: Type = -12228;
pub const SSL_ERROR_HANDSHAKE_FAILURE_ALERT: Type = -12227;
pub const SSL_ERROR_ILLEGAL_PARAMETER_ALERT: Type = -12226;
pub const SSL_ERROR_UNSUPPORTED_CERT_ALERT: Type = -12225;
pub const SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT: Type = -12224;
pub const SSL_ERROR_GENERATE_RANDOM_FAILURE: Type = -12223;
pub const SSL_ERROR_SIGN_HASHES_FAILURE: Type = -12222;
pub const SSL_ERROR_EXTRACT_PUBLIC_KEY_FAILURE: Type = -12221;
pub const SSL_ERROR_SERVER_KEY_EXCHANGE_FAILURE: Type = -12220;
pub const SSL_ERROR_CLIENT_KEY_EXCHANGE_FAILURE: Type = -12219;
pub const SSL_ERROR_ENCRYPTION_FAILURE: Type = -12218;
pub const SSL_ERROR_DECRYPTION_FAILURE: Type = -12217;
pub const SSL_ERROR_SOCKET_WRITE_FAILURE: Type = -12216;
pub const SSL_ERROR_MD5_DIGEST_FAILURE: Type = -12215;
pub const SSL_ERROR_SHA_DIGEST_FAILURE: Type = -12214;
pub const SSL_ERROR_MAC_COMPUTATION_FAILURE: Type = -12213;
pub const SSL_ERROR_SYM_KEY_CONTEXT_FAILURE: Type = -12212;
pub const SSL_ERROR_SYM_KEY_UNWRAP_FAILURE: Type = -12211;
pub const SSL_ERROR_PUB_KEY_SIZE_LIMIT_EXCEEDED: Type = -12210;
pub const SSL_ERROR_IV_PARAM_FAILURE: Type = -12209;
pub const SSL_ERROR_INIT_CIPHER_SUITE_FAILURE: Type = -12208;
pub const SSL_ERROR_SESSION_KEY_GEN_FAILURE: Type = -12207;
pub const SSL_ERROR_NO_SERVER_KEY_FOR_ALG: Type = -12206;
pub const SSL_ERROR_TOKEN_INSERTION_REMOVAL: Type = -12205;
pub const SSL_ERROR_TOKEN_SLOT_NOT_FOUND: Type = -12204;
pub const SSL_ERROR_NO_COMPRESSION_OVERLAP: Type = -12203;
pub const SSL_ERROR_HANDSHAKE_NOT_COMPLETED: Type = -12202;
pub const SSL_ERROR_BAD_HANDSHAKE_HASH_VALUE: Type = -12201;
pub const SSL_ERROR_CERT_KEA_MISMATCH: Type = -12200;
pub const SSL_ERROR_NO_TRUSTED_SSL_CLIENT_CA: Type = -12199;
pub const SSL_ERROR_SESSION_NOT_FOUND: Type = -12198;
pub const SSL_ERROR_DECRYPTION_FAILED_ALERT: Type = -12197;
pub const SSL_ERROR_RECORD_OVERFLOW_ALERT: Type = -12196;
pub const SSL_ERROR_UNKNOWN_CA_ALERT: Type = -12195;
pub const SSL_ERROR_ACCESS_DENIED_ALERT: Type = -12194;
pub const SSL_ERROR_DECODE_ERROR_ALERT: Type = -12193;
pub const SSL_ERROR_DECRYPT_ERROR_ALERT: Type = -12192;
pub const SSL_ERROR_EXPORT_RESTRICTION_ALERT: Type = -12191;
pub const SSL_ERROR_PROTOCOL_VERSION_ALERT: Type = -12190;
pub const SSL_ERROR_INSUFFICIENT_SECURITY_ALERT: Type = -12189;
pub const SSL_ERROR_INTERNAL_ERROR_ALERT: Type = -12188;
pub const SSL_ERROR_USER_CANCELED_ALERT: Type = -12187;
pub const SSL_ERROR_NO_RENEGOTIATION_ALERT: Type = -12186;
pub const SSL_ERROR_SERVER_CACHE_NOT_CONFIGURED: Type = -12185;
pub const SSL_ERROR_UNSUPPORTED_EXTENSION_ALERT: Type = -12184;
pub const SSL_ERROR_CERTIFICATE_UNOBTAINABLE_ALERT: Type = -12183;
pub const SSL_ERROR_UNRECOGNIZED_NAME_ALERT: Type = -12182;
pub const SSL_ERROR_BAD_CERT_STATUS_RESPONSE_ALERT: Type = -12181;
pub const SSL_ERROR_BAD_CERT_HASH_VALUE_ALERT: Type = -12180;
pub const SSL_ERROR_RX_UNEXPECTED_NEW_SESSION_TICKET: Type = -12179;
pub const SSL_ERROR_RX_MALFORMED_NEW_SESSION_TICKET: Type = -12178;
pub const SSL_ERROR_DECOMPRESSION_FAILURE: Type = -12177;
pub const SSL_ERROR_RENEGOTIATION_NOT_ALLOWED: Type = -12176;
pub const SSL_ERROR_UNSAFE_NEGOTIATION: Type = -12175;
pub const SSL_ERROR_RX_UNEXPECTED_UNCOMPRESSED_RECORD: Type = -12174;
pub const SSL_ERROR_WEAK_SERVER_EPHEMERAL_DH_KEY: Type = -12173;
pub const SSL_ERROR_NEXT_PROTOCOL_DATA_INVALID: Type = -12172;
pub const SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_SSL2: Type = -12171;
pub const SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_SERVERS: Type = -12170;
pub const SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_CLIENTS: Type = -12169;
pub const SSL_ERROR_INVALID_VERSION_RANGE: Type = -12168;
pub const SSL_ERROR_CIPHER_DISALLOWED_FOR_VERSION: Type = -12167;
pub const SSL_ERROR_RX_MALFORMED_HELLO_VERIFY_REQUEST: Type = -12166;
pub const SSL_ERROR_RX_UNEXPECTED_HELLO_VERIFY_REQUEST: Type = -12165;
pub const SSL_ERROR_FEATURE_NOT_SUPPORTED_FOR_VERSION: Type = -12164;
pub const SSL_ERROR_RX_UNEXPECTED_CERT_STATUS: Type = -12163;
pub const SSL_ERROR_UNSUPPORTED_HASH_ALGORITHM: Type = -12162;
pub const SSL_ERROR_DIGEST_FAILURE: Type = -12161;
pub const SSL_ERROR_INCORRECT_SIGNATURE_ALGORITHM: Type = -12160;
pub const SSL_ERROR_NEXT_PROTOCOL_NO_CALLBACK: Type = -12159;
pub const SSL_ERROR_NEXT_PROTOCOL_NO_PROTOCOL: Type = -12158;
pub const SSL_ERROR_INAPPROPRIATE_FALLBACK_ALERT: Type = -12157;
pub const SSL_ERROR_WEAK_SERVER_CERT_KEY: Type = -12156;
pub const SSL_ERROR_RX_SHORT_DTLS_READ: Type = -12155;
pub const SSL_ERROR_NO_SUPPORTED_SIGNATURE_ALGORITHM: Type = -12154;
pub const SSL_ERROR_UNSUPPORTED_SIGNATURE_ALGORITHM: Type = -12153;
pub const SSL_ERROR_MISSING_EXTENDED_MASTER_SECRET: Type = -12152;
pub const SSL_ERROR_UNEXPECTED_EXTENDED_MASTER_SECRET: Type = -12151;
pub const SSL_ERROR_RX_MALFORMED_KEY_SHARE: Type = -12150;
pub const SSL_ERROR_MISSING_KEY_SHARE: Type = -12149;
pub const SSL_ERROR_RX_MALFORMED_ECDHE_KEY_SHARE: Type = -12148;
pub const SSL_ERROR_RX_MALFORMED_DHE_KEY_SHARE: Type = -12147;
pub const SSL_ERROR_RX_UNEXPECTED_ENCRYPTED_EXTENSIONS: Type = -12146;
pub const SSL_ERROR_MISSING_EXTENSION_ALERT: Type = -12145;
pub const SSL_ERROR_KEY_EXCHANGE_FAILURE: Type = -12144;
pub const SSL_ERROR_EXTENSION_DISALLOWED_FOR_VERSION: Type = -12143;
pub const SSL_ERROR_RX_MALFORMED_ENCRYPTED_EXTENSIONS: Type = -12142;
pub const SSL_ERROR_MALFORMED_PRE_SHARED_KEY: Type = -12141;
pub const SSL_ERROR_MALFORMED_EARLY_DATA: Type = -12140;
pub const SSL_ERROR_END_OF_EARLY_DATA_ALERT: Type = -12139;
pub const SSL_ERROR_MISSING_ALPN_EXTENSION: Type = -12138;
pub const SSL_ERROR_RX_UNEXPECTED_EXTENSION: Type = -12137;
pub const SSL_ERROR_MISSING_SUPPORTED_GROUPS_EXTENSION: Type = -12136;
pub const SSL_ERROR_TOO_MANY_RECORDS: Type = -12135;
pub const SSL_ERROR_RX_UNEXPECTED_HELLO_RETRY_REQUEST: Type = -12134;
pub const SSL_ERROR_RX_MALFORMED_HELLO_RETRY_REQUEST: Type = -12133;
pub const SSL_ERROR_BAD_2ND_CLIENT_HELLO: Type = -12132;
pub const SSL_ERROR_MISSING_SIGNATURE_ALGORITHMS_EXTENSION: Type = -12131;
pub const SSL_ERROR_MALFORMED_PSK_KEY_EXCHANGE_MODES: Type = -12130;
pub const SSL_ERROR_MISSING_PSK_KEY_EXCHANGE_MODES: Type = -12129;
pub const SSL_ERROR_DOWNGRADE_WITH_EARLY_DATA: Type = -12128;
pub const SSL_ERROR_TOO_MUCH_EARLY_DATA: Type = -12127;
pub const SSL_ERROR_RX_UNEXPECTED_END_OF_EARLY_DATA: Type = -12126;
pub const SSL_ERROR_RX_MALFORMED_END_OF_EARLY_DATA: Type = -12125;
pub const SSL_ERROR_UNSUPPORTED_EXPERIMENTAL_API: Type = -12124;
pub const SSL_ERROR_APPLICATION_ABORT: Type = -12123;
pub const SSL_ERROR_APP_CALLBACK_ERROR: Type = -12122;
pub const SSL_ERROR_NO_TIMERS_FOUND: Type = -12121;
pub const SSL_ERROR_MISSING_COOKIE_EXTENSION: Type = -12120;
pub const SSL_ERROR_RX_UNEXPECTED_KEY_UPDATE: Type = -12119;
pub const SSL_ERROR_RX_MALFORMED_KEY_UPDATE: Type = -12118;
pub const SSL_ERROR_TOO_MANY_KEY_UPDATES: Type = -12117;
pub const SSL_ERROR_HANDSHAKE_FAILED: Type = -12116;
pub const SSL_ERROR_BAD_RESUMPTION_TOKEN_ERROR: Type = -12115;
pub const SSL_ERROR_RX_MALFORMED_DTLS_ACK: Type = -12114;
pub const SSL_ERROR_DH_KEY_TOO_LONG: Type = -12113;
pub const SSL_ERROR_RX_MALFORMED_ESNI_KEYS: Type = -12112;
pub const SSL_ERROR_RX_MALFORMED_ESNI_EXTENSION: Type = -12111;
pub const SSL_ERROR_MISSING_ESNI_EXTENSION: Type = -12110;
pub const SSL_ERROR_RX_UNEXPECTED_RECORD_TYPE: Type = -12109;
pub const SSL_ERROR_MISSING_POST_HANDSHAKE_AUTH_EXTENSION: Type = -12108;
pub const SSL_ERROR_RX_CERTIFICATE_REQUIRED_ALERT: Type = -12107;
pub const SSL_ERROR_DC_CERT_VERIFY_ALG_MISMATCH: Type = -12106;
pub const SSL_ERROR_DC_BAD_SIGNATURE: Type = -12105;
pub const SSL_ERROR_DC_INVALID_KEY_USAGE: Type = -12104;
pub const SSL_ERROR_DC_EXPIRED: Type = -12103;
pub const SSL_ERROR_DC_INAPPROPRIATE_VALIDITY_PERIOD: Type = -12102;
pub const SSL_ERROR_FEATURE_DISABLED: Type = -12101;
pub const SSL_ERROR_ECH_RETRY_WITH_ECH: Type = -12100;
pub const SSL_ERROR_ECH_RETRY_WITHOUT_ECH: Type = -12099;
pub const SSL_ERROR_ECH_FAILED: Type = -12098;
pub const SSL_ERROR_ECH_REQUIRED_ALERT: Type = -12097;
pub const SSL_ERROR_RX_MALFORMED_HYBRID_KEY_SHARE: Type = -12096;
pub const SSL_ERROR_END_OF_LIST: Type = -12095;
}