1e1051a39Sopenharmony_ci/* 2e1051a39Sopenharmony_ci * Generated by util/mkerr.pl DO NOT EDIT 3e1051a39Sopenharmony_ci * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4e1051a39Sopenharmony_ci * 5e1051a39Sopenharmony_ci * Licensed under the Apache License 2.0 (the "License"). You may not use 6e1051a39Sopenharmony_ci * this file except in compliance with the License. You can obtain a copy 7e1051a39Sopenharmony_ci * in the file LICENSE in the source distribution or at 8e1051a39Sopenharmony_ci * https://www.openssl.org/source/license.html 9e1051a39Sopenharmony_ci */ 10e1051a39Sopenharmony_ci 11e1051a39Sopenharmony_ci#include <openssl/err.h> 12e1051a39Sopenharmony_ci#include <openssl/sslerr.h> 13e1051a39Sopenharmony_ci#include "sslerr.h" 14e1051a39Sopenharmony_ci 15e1051a39Sopenharmony_ci#ifndef OPENSSL_NO_ERR 16e1051a39Sopenharmony_ci 17e1051a39Sopenharmony_cistatic const ERR_STRING_DATA SSL_str_reasons[] = { 18e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_APPLICATION_DATA_AFTER_CLOSE_NOTIFY), 19e1051a39Sopenharmony_ci "application data after close notify"}, 20e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_APP_DATA_IN_HANDSHAKE), 21e1051a39Sopenharmony_ci "app data in handshake"}, 22e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT), 23e1051a39Sopenharmony_ci "attempt to reuse session in different context"}, 24e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_AT_LEAST_TLS_1_2_NEEDED_IN_SUITEB_MODE), 25e1051a39Sopenharmony_ci "at least (D)TLS 1.2 needed in Suite B mode"}, 26e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_CHANGE_CIPHER_SPEC), 27e1051a39Sopenharmony_ci "bad change cipher spec"}, 28e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_CIPHER), "bad cipher"}, 29e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_DATA), "bad data"}, 30e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_DATA_RETURNED_BY_CALLBACK), 31e1051a39Sopenharmony_ci "bad data returned by callback"}, 32e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_DECOMPRESSION), "bad decompression"}, 33e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_DH_VALUE), "bad dh value"}, 34e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_DIGEST_LENGTH), "bad digest length"}, 35e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_EARLY_DATA), "bad early data"}, 36e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_ECC_CERT), "bad ecc cert"}, 37e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_ECPOINT), "bad ecpoint"}, 38e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_EXTENSION), "bad extension"}, 39e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_HANDSHAKE_LENGTH), 40e1051a39Sopenharmony_ci "bad handshake length"}, 41e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_HANDSHAKE_STATE), 42e1051a39Sopenharmony_ci "bad handshake state"}, 43e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_HELLO_REQUEST), "bad hello request"}, 44e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_HRR_VERSION), "bad hrr version"}, 45e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_KEY_SHARE), "bad key share"}, 46e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_KEY_UPDATE), "bad key update"}, 47e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_LEGACY_VERSION), "bad legacy version"}, 48e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_LENGTH), "bad length"}, 49e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_PACKET), "bad packet"}, 50e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_PACKET_LENGTH), "bad packet length"}, 51e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_PROTOCOL_VERSION_NUMBER), 52e1051a39Sopenharmony_ci "bad protocol version number"}, 53e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_PSK), "bad psk"}, 54e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_PSK_IDENTITY), "bad psk identity"}, 55e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_RECORD_TYPE), "bad record type"}, 56e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_RSA_ENCRYPT), "bad rsa encrypt"}, 57e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SIGNATURE), "bad signature"}, 58e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SRP_A_LENGTH), "bad srp a length"}, 59e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SRP_PARAMETERS), "bad srp parameters"}, 60e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SRTP_MKI_VALUE), "bad srtp mki value"}, 61e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SRTP_PROTECTION_PROFILE_LIST), 62e1051a39Sopenharmony_ci "bad srtp protection profile list"}, 63e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SSL_FILETYPE), "bad ssl filetype"}, 64e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_VALUE), "bad value"}, 65e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_WRITE_RETRY), "bad write retry"}, 66e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BINDER_DOES_NOT_VERIFY), 67e1051a39Sopenharmony_ci "binder does not verify"}, 68e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BIO_NOT_SET), "bio not set"}, 69e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BLOCK_CIPHER_PAD_IS_WRONG), 70e1051a39Sopenharmony_ci "block cipher pad is wrong"}, 71e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BN_LIB), "bn lib"}, 72e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CALLBACK_FAILED), "callback failed"}, 73e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CANNOT_CHANGE_CIPHER), 74e1051a39Sopenharmony_ci "cannot change cipher"}, 75e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CANNOT_GET_GROUP_NAME), 76e1051a39Sopenharmony_ci "cannot get group name"}, 77e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CA_DN_LENGTH_MISMATCH), 78e1051a39Sopenharmony_ci "ca dn length mismatch"}, 79e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CA_KEY_TOO_SMALL), "ca key too small"}, 80e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CA_MD_TOO_WEAK), "ca md too weak"}, 81e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CCS_RECEIVED_EARLY), "ccs received early"}, 82e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CERTIFICATE_VERIFY_FAILED), 83e1051a39Sopenharmony_ci "certificate verify failed"}, 84e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CERT_CB_ERROR), "cert cb error"}, 85e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CERT_LENGTH_MISMATCH), 86e1051a39Sopenharmony_ci "cert length mismatch"}, 87e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CIPHERSUITE_DIGEST_HAS_CHANGED), 88e1051a39Sopenharmony_ci "ciphersuite digest has changed"}, 89e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CIPHER_CODE_WRONG_LENGTH), 90e1051a39Sopenharmony_ci "cipher code wrong length"}, 91e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CLIENTHELLO_TLSEXT), "clienthello tlsext"}, 92e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COMPRESSED_LENGTH_TOO_LONG), 93e1051a39Sopenharmony_ci "compressed length too long"}, 94e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COMPRESSION_DISABLED), 95e1051a39Sopenharmony_ci "compression disabled"}, 96e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COMPRESSION_FAILURE), 97e1051a39Sopenharmony_ci "compression failure"}, 98e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE), 99e1051a39Sopenharmony_ci "compression id not within private range"}, 100e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COMPRESSION_LIBRARY_ERROR), 101e1051a39Sopenharmony_ci "compression library error"}, 102e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CONNECTION_TYPE_NOT_SET), 103e1051a39Sopenharmony_ci "connection type not set"}, 104e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CONTEXT_NOT_DANE_ENABLED), 105e1051a39Sopenharmony_ci "context not dane enabled"}, 106e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COOKIE_GEN_CALLBACK_FAILURE), 107e1051a39Sopenharmony_ci "cookie gen callback failure"}, 108e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COOKIE_MISMATCH), "cookie mismatch"}, 109e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COPY_PARAMETERS_FAILED), 110e1051a39Sopenharmony_ci "copy parameters failed"}, 111e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CUSTOM_EXT_HANDLER_ALREADY_INSTALLED), 112e1051a39Sopenharmony_ci "custom ext handler already installed"}, 113e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_ALREADY_ENABLED), 114e1051a39Sopenharmony_ci "dane already enabled"}, 115e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_CANNOT_OVERRIDE_MTYPE_FULL), 116e1051a39Sopenharmony_ci "dane cannot override mtype full"}, 117e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_NOT_ENABLED), "dane not enabled"}, 118e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_CERTIFICATE), 119e1051a39Sopenharmony_ci "dane tlsa bad certificate"}, 120e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_CERTIFICATE_USAGE), 121e1051a39Sopenharmony_ci "dane tlsa bad certificate usage"}, 122e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_DATA_LENGTH), 123e1051a39Sopenharmony_ci "dane tlsa bad data length"}, 124e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_DIGEST_LENGTH), 125e1051a39Sopenharmony_ci "dane tlsa bad digest length"}, 126e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_MATCHING_TYPE), 127e1051a39Sopenharmony_ci "dane tlsa bad matching type"}, 128e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_PUBLIC_KEY), 129e1051a39Sopenharmony_ci "dane tlsa bad public key"}, 130e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_SELECTOR), 131e1051a39Sopenharmony_ci "dane tlsa bad selector"}, 132e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_NULL_DATA), 133e1051a39Sopenharmony_ci "dane tlsa null data"}, 134e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DATA_BETWEEN_CCS_AND_FINISHED), 135e1051a39Sopenharmony_ci "data between ccs and finished"}, 136e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DATA_LENGTH_TOO_LONG), 137e1051a39Sopenharmony_ci "data length too long"}, 138e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DECRYPTION_FAILED), "decryption failed"}, 139e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC), 140e1051a39Sopenharmony_ci "decryption failed or bad record mac"}, 141e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DH_KEY_TOO_SMALL), "dh key too small"}, 142e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG), 143e1051a39Sopenharmony_ci "dh public value length is wrong"}, 144e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DIGEST_CHECK_FAILED), 145e1051a39Sopenharmony_ci "digest check failed"}, 146e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DTLS_MESSAGE_TOO_BIG), 147e1051a39Sopenharmony_ci "dtls message too big"}, 148e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DUPLICATE_COMPRESSION_ID), 149e1051a39Sopenharmony_ci "duplicate compression id"}, 150e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ECC_CERT_NOT_FOR_SIGNING), 151e1051a39Sopenharmony_ci "ecc cert not for signing"}, 152e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ECDH_REQUIRED_FOR_SUITEB_MODE), 153e1051a39Sopenharmony_ci "ecdh required for suiteb mode"}, 154e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EE_KEY_TOO_SMALL), "ee key too small"}, 155e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EMPTY_SRTP_PROTECTION_PROFILE_LIST), 156e1051a39Sopenharmony_ci "empty srtp protection profile list"}, 157e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ENCRYPTED_LENGTH_TOO_LONG), 158e1051a39Sopenharmony_ci "encrypted length too long"}, 159e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST), 160e1051a39Sopenharmony_ci "error in received cipher list"}, 161e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ERROR_SETTING_TLSA_BASE_DOMAIN), 162e1051a39Sopenharmony_ci "error setting tlsa base domain"}, 163e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EXCEEDS_MAX_FRAGMENT_SIZE), 164e1051a39Sopenharmony_ci "exceeds max fragment size"}, 165e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EXCESSIVE_MESSAGE_SIZE), 166e1051a39Sopenharmony_ci "excessive message size"}, 167e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EXTENSION_NOT_RECEIVED), 168e1051a39Sopenharmony_ci "extension not received"}, 169e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EXTRA_DATA_IN_MESSAGE), 170e1051a39Sopenharmony_ci "extra data in message"}, 171e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EXT_LENGTH_MISMATCH), 172e1051a39Sopenharmony_ci "ext length mismatch"}, 173e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_FAILED_TO_INIT_ASYNC), 174e1051a39Sopenharmony_ci "failed to init async"}, 175e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_FRAGMENTED_CLIENT_HELLO), 176e1051a39Sopenharmony_ci "fragmented client hello"}, 177e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_GOT_A_FIN_BEFORE_A_CCS), 178e1051a39Sopenharmony_ci "got a fin before a ccs"}, 179e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_HTTPS_PROXY_REQUEST), 180e1051a39Sopenharmony_ci "https proxy request"}, 181e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_HTTP_REQUEST), "http request"}, 182e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ILLEGAL_POINT_COMPRESSION), 183e1051a39Sopenharmony_ci "illegal point compression"}, 184e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ILLEGAL_SUITEB_DIGEST), 185e1051a39Sopenharmony_ci "illegal Suite B digest"}, 186e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INAPPROPRIATE_FALLBACK), 187e1051a39Sopenharmony_ci "inappropriate fallback"}, 188e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INCONSISTENT_COMPRESSION), 189e1051a39Sopenharmony_ci "inconsistent compression"}, 190e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INCONSISTENT_EARLY_DATA_ALPN), 191e1051a39Sopenharmony_ci "inconsistent early data alpn"}, 192e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INCONSISTENT_EARLY_DATA_SNI), 193e1051a39Sopenharmony_ci "inconsistent early data sni"}, 194e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INCONSISTENT_EXTMS), "inconsistent extms"}, 195e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INSUFFICIENT_SECURITY), 196e1051a39Sopenharmony_ci "insufficient security"}, 197e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_ALERT), "invalid alert"}, 198e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CCS_MESSAGE), 199e1051a39Sopenharmony_ci "invalid ccs message"}, 200e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CERTIFICATE_OR_ALG), 201e1051a39Sopenharmony_ci "invalid certificate or alg"}, 202e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_COMMAND), "invalid command"}, 203e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_COMPRESSION_ALGORITHM), 204e1051a39Sopenharmony_ci "invalid compression algorithm"}, 205e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CONFIG), "invalid config"}, 206e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CONFIGURATION_NAME), 207e1051a39Sopenharmony_ci "invalid configuration name"}, 208e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CONTEXT), "invalid context"}, 209e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CT_VALIDATION_TYPE), 210e1051a39Sopenharmony_ci "invalid ct validation type"}, 211e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_KEY_UPDATE_TYPE), 212e1051a39Sopenharmony_ci "invalid key update type"}, 213e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_MAX_EARLY_DATA), 214e1051a39Sopenharmony_ci "invalid max early data"}, 215e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_NULL_CMD_NAME), 216e1051a39Sopenharmony_ci "invalid null cmd name"}, 217e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_SEQUENCE_NUMBER), 218e1051a39Sopenharmony_ci "invalid sequence number"}, 219e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_SERVERINFO_DATA), 220e1051a39Sopenharmony_ci "invalid serverinfo data"}, 221e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_SESSION_ID), "invalid session id"}, 222e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_SRP_USERNAME), 223e1051a39Sopenharmony_ci "invalid srp username"}, 224e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_STATUS_RESPONSE), 225e1051a39Sopenharmony_ci "invalid status response"}, 226e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_TICKET_KEYS_LENGTH), 227e1051a39Sopenharmony_ci "invalid ticket keys length"}, 228e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LEGACY_SIGALG_DISALLOWED_OR_UNSUPPORTED), 229e1051a39Sopenharmony_ci "legacy sigalg disallowed or unsupported"}, 230e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LENGTH_MISMATCH), "length mismatch"}, 231e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LENGTH_TOO_LONG), "length too long"}, 232e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LENGTH_TOO_SHORT), "length too short"}, 233e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LIBRARY_BUG), "library bug"}, 234e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LIBRARY_HAS_NO_CIPHERS), 235e1051a39Sopenharmony_ci "library has no ciphers"}, 236e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_DSA_SIGNING_CERT), 237e1051a39Sopenharmony_ci "missing dsa signing cert"}, 238e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_ECDSA_SIGNING_CERT), 239e1051a39Sopenharmony_ci "missing ecdsa signing cert"}, 240e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_FATAL), "missing fatal"}, 241e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_PARAMETERS), "missing parameters"}, 242e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_PSK_KEX_MODES_EXTENSION), 243e1051a39Sopenharmony_ci "missing psk kex modes extension"}, 244e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_RSA_CERTIFICATE), 245e1051a39Sopenharmony_ci "missing rsa certificate"}, 246e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_RSA_ENCRYPTING_CERT), 247e1051a39Sopenharmony_ci "missing rsa encrypting cert"}, 248e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_RSA_SIGNING_CERT), 249e1051a39Sopenharmony_ci "missing rsa signing cert"}, 250e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SIGALGS_EXTENSION), 251e1051a39Sopenharmony_ci "missing sigalgs extension"}, 252e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SIGNING_CERT), 253e1051a39Sopenharmony_ci "missing signing cert"}, 254e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SRP_PARAM), 255e1051a39Sopenharmony_ci "can't find SRP server param"}, 256e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SUPPORTED_GROUPS_EXTENSION), 257e1051a39Sopenharmony_ci "missing supported groups extension"}, 258e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_TMP_DH_KEY), "missing tmp dh key"}, 259e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_TMP_ECDH_KEY), 260e1051a39Sopenharmony_ci "missing tmp ecdh key"}, 261e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MIXED_HANDSHAKE_AND_NON_HANDSHAKE_DATA), 262e1051a39Sopenharmony_ci "mixed handshake and non handshake data"}, 263e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NOT_ON_RECORD_BOUNDARY), 264e1051a39Sopenharmony_ci "not on record boundary"}, 265e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NOT_REPLACING_CERTIFICATE), 266e1051a39Sopenharmony_ci "not replacing certificate"}, 267e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NOT_SERVER), "not server"}, 268e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_APPLICATION_PROTOCOL), 269e1051a39Sopenharmony_ci "no application protocol"}, 270e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CERTIFICATES_RETURNED), 271e1051a39Sopenharmony_ci "no certificates returned"}, 272e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CERTIFICATE_ASSIGNED), 273e1051a39Sopenharmony_ci "no certificate assigned"}, 274e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CERTIFICATE_SET), "no certificate set"}, 275e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CHANGE_FOLLOWING_HRR), 276e1051a39Sopenharmony_ci "no change following hrr"}, 277e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CIPHERS_AVAILABLE), 278e1051a39Sopenharmony_ci "no ciphers available"}, 279e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CIPHERS_SPECIFIED), 280e1051a39Sopenharmony_ci "no ciphers specified"}, 281e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CIPHER_MATCH), "no cipher match"}, 282e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CLIENT_CERT_METHOD), 283e1051a39Sopenharmony_ci "no client cert method"}, 284e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_COMPRESSION_SPECIFIED), 285e1051a39Sopenharmony_ci "no compression specified"}, 286e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_COOKIE_CALLBACK_SET), 287e1051a39Sopenharmony_ci "no cookie callback set"}, 288e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER), 289e1051a39Sopenharmony_ci "Peer haven't sent GOST certificate, required for selected ciphersuite"}, 290e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_METHOD_SPECIFIED), 291e1051a39Sopenharmony_ci "no method specified"}, 292e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_PEM_EXTENSIONS), "no pem extensions"}, 293e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_PRIVATE_KEY_ASSIGNED), 294e1051a39Sopenharmony_ci "no private key assigned"}, 295e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_PROTOCOLS_AVAILABLE), 296e1051a39Sopenharmony_ci "no protocols available"}, 297e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_RENEGOTIATION), "no renegotiation"}, 298e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_REQUIRED_DIGEST), "no required digest"}, 299e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SHARED_CIPHER), "no shared cipher"}, 300e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SHARED_GROUPS), "no shared groups"}, 301e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SHARED_SIGNATURE_ALGORITHMS), 302e1051a39Sopenharmony_ci "no shared signature algorithms"}, 303e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SRTP_PROFILES), "no srtp profiles"}, 304e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SUITABLE_DIGEST_ALGORITHM), 305e1051a39Sopenharmony_ci "no suitable digest algorithm"}, 306e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SUITABLE_GROUPS), "no suitable groups"}, 307e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SUITABLE_KEY_SHARE), 308e1051a39Sopenharmony_ci "no suitable key share"}, 309e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM), 310e1051a39Sopenharmony_ci "no suitable signature algorithm"}, 311e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_VALID_SCTS), "no valid scts"}, 312e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_VERIFY_COOKIE_CALLBACK), 313e1051a39Sopenharmony_ci "no verify cookie callback"}, 314e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NULL_SSL_CTX), "null ssl ctx"}, 315e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NULL_SSL_METHOD_PASSED), 316e1051a39Sopenharmony_ci "null ssl method passed"}, 317e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_OCSP_CALLBACK_FAILURE), 318e1051a39Sopenharmony_ci "ocsp callback failure"}, 319e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_OLD_SESSION_CIPHER_NOT_RETURNED), 320e1051a39Sopenharmony_ci "old session cipher not returned"}, 321e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_OLD_SESSION_COMPRESSION_ALGORITHM_NOT_RETURNED), 322e1051a39Sopenharmony_ci "old session compression algorithm not returned"}, 323e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_OVERFLOW_ERROR), "overflow error"}, 324e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PACKET_LENGTH_TOO_LONG), 325e1051a39Sopenharmony_ci "packet length too long"}, 326e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PARSE_TLSEXT), "parse tlsext"}, 327e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PATH_TOO_LONG), "path too long"}, 328e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE), 329e1051a39Sopenharmony_ci "peer did not return a certificate"}, 330e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PEM_NAME_BAD_PREFIX), 331e1051a39Sopenharmony_ci "pem name bad prefix"}, 332e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PEM_NAME_TOO_SHORT), "pem name too short"}, 333e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PIPELINE_FAILURE), "pipeline failure"}, 334e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_POST_HANDSHAKE_AUTH_ENCODING_ERR), 335e1051a39Sopenharmony_ci "post handshake auth encoding err"}, 336e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PRIVATE_KEY_MISMATCH), 337e1051a39Sopenharmony_ci "private key mismatch"}, 338e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PROTOCOL_IS_SHUTDOWN), 339e1051a39Sopenharmony_ci "protocol is shutdown"}, 340e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PSK_IDENTITY_NOT_FOUND), 341e1051a39Sopenharmony_ci "psk identity not found"}, 342e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PSK_NO_CLIENT_CB), "psk no client cb"}, 343e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PSK_NO_SERVER_CB), "psk no server cb"}, 344e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_READ_BIO_NOT_SET), "read bio not set"}, 345e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_READ_TIMEOUT_EXPIRED), 346e1051a39Sopenharmony_ci "read timeout expired"}, 347e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RECORD_LENGTH_MISMATCH), 348e1051a39Sopenharmony_ci "record length mismatch"}, 349e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RECORD_TOO_SMALL), "record too small"}, 350e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RENEGOTIATE_EXT_TOO_LONG), 351e1051a39Sopenharmony_ci "renegotiate ext too long"}, 352e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RENEGOTIATION_ENCODING_ERR), 353e1051a39Sopenharmony_ci "renegotiation encoding err"}, 354e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RENEGOTIATION_MISMATCH), 355e1051a39Sopenharmony_ci "renegotiation mismatch"}, 356e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_REQUEST_PENDING), "request pending"}, 357e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_REQUEST_SENT), "request sent"}, 358e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_REQUIRED_CIPHER_MISSING), 359e1051a39Sopenharmony_ci "required cipher missing"}, 360e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_REQUIRED_COMPRESSION_ALGORITHM_MISSING), 361e1051a39Sopenharmony_ci "required compression algorithm missing"}, 362e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING), 363e1051a39Sopenharmony_ci "scsv received when renegotiating"}, 364e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SCT_VERIFICATION_FAILED), 365e1051a39Sopenharmony_ci "sct verification failed"}, 366e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SERVERHELLO_TLSEXT), "serverhello tlsext"}, 367e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SESSION_ID_CONTEXT_UNINITIALIZED), 368e1051a39Sopenharmony_ci "session id context uninitialized"}, 369e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHUTDOWN_WHILE_IN_INIT), 370e1051a39Sopenharmony_ci "shutdown while in init"}, 371e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SIGNATURE_ALGORITHMS_ERROR), 372e1051a39Sopenharmony_ci "signature algorithms error"}, 373e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE), 374e1051a39Sopenharmony_ci "signature for non signing certificate"}, 375e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SRP_A_CALC), "error with the srp params"}, 376e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SRTP_COULD_NOT_ALLOCATE_PROFILES), 377e1051a39Sopenharmony_ci "srtp could not allocate profiles"}, 378e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SRTP_PROTECTION_PROFILE_LIST_TOO_LONG), 379e1051a39Sopenharmony_ci "srtp protection profile list too long"}, 380e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SRTP_UNKNOWN_PROTECTION_PROFILE), 381e1051a39Sopenharmony_ci "srtp unknown protection profile"}, 382e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL3_EXT_INVALID_MAX_FRAGMENT_LENGTH), 383e1051a39Sopenharmony_ci "ssl3 ext invalid max fragment length"}, 384e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL3_EXT_INVALID_SERVERNAME), 385e1051a39Sopenharmony_ci "ssl3 ext invalid servername"}, 386e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL3_EXT_INVALID_SERVERNAME_TYPE), 387e1051a39Sopenharmony_ci "ssl3 ext invalid servername type"}, 388e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL3_SESSION_ID_TOO_LONG), 389e1051a39Sopenharmony_ci "ssl3 session id too long"}, 390e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_BAD_CERTIFICATE), 391e1051a39Sopenharmony_ci "sslv3 alert bad certificate"}, 392e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_BAD_RECORD_MAC), 393e1051a39Sopenharmony_ci "sslv3 alert bad record mac"}, 394e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED), 395e1051a39Sopenharmony_ci "sslv3 alert certificate expired"}, 396e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED), 397e1051a39Sopenharmony_ci "sslv3 alert certificate revoked"}, 398e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN), 399e1051a39Sopenharmony_ci "sslv3 alert certificate unknown"}, 400e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_DECOMPRESSION_FAILURE), 401e1051a39Sopenharmony_ci "sslv3 alert decompression failure"}, 402e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE), 403e1051a39Sopenharmony_ci "sslv3 alert handshake failure"}, 404e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER), 405e1051a39Sopenharmony_ci "sslv3 alert illegal parameter"}, 406e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_NO_CERTIFICATE), 407e1051a39Sopenharmony_ci "sslv3 alert no certificate"}, 408e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE), 409e1051a39Sopenharmony_ci "sslv3 alert unexpected message"}, 410e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE), 411e1051a39Sopenharmony_ci "sslv3 alert unsupported certificate"}, 412e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_COMMAND_SECTION_EMPTY), 413e1051a39Sopenharmony_ci "ssl command section empty"}, 414e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_COMMAND_SECTION_NOT_FOUND), 415e1051a39Sopenharmony_ci "ssl command section not found"}, 416e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION), 417e1051a39Sopenharmony_ci "ssl ctx has no default ssl version"}, 418e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_HANDSHAKE_FAILURE), 419e1051a39Sopenharmony_ci "ssl handshake failure"}, 420e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS), 421e1051a39Sopenharmony_ci "ssl library has no ciphers"}, 422e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_NEGATIVE_LENGTH), 423e1051a39Sopenharmony_ci "ssl negative length"}, 424e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SECTION_EMPTY), "ssl section empty"}, 425e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SECTION_NOT_FOUND), 426e1051a39Sopenharmony_ci "ssl section not found"}, 427e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_ID_CALLBACK_FAILED), 428e1051a39Sopenharmony_ci "ssl session id callback failed"}, 429e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_ID_CONFLICT), 430e1051a39Sopenharmony_ci "ssl session id conflict"}, 431e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_ID_CONTEXT_TOO_LONG), 432e1051a39Sopenharmony_ci "ssl session id context too long"}, 433e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_ID_HAS_BAD_LENGTH), 434e1051a39Sopenharmony_ci "ssl session id has bad length"}, 435e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_ID_TOO_LONG), 436e1051a39Sopenharmony_ci "ssl session id too long"}, 437e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_VERSION_MISMATCH), 438e1051a39Sopenharmony_ci "ssl session version mismatch"}, 439e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STILL_IN_INIT), "still in init"}, 440e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED), 441e1051a39Sopenharmony_ci "tlsv13 alert certificate required"}, 442e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV13_ALERT_MISSING_EXTENSION), 443e1051a39Sopenharmony_ci "tlsv13 alert missing extension"}, 444e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_ACCESS_DENIED), 445e1051a39Sopenharmony_ci "tlsv1 alert access denied"}, 446e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_DECODE_ERROR), 447e1051a39Sopenharmony_ci "tlsv1 alert decode error"}, 448e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_DECRYPTION_FAILED), 449e1051a39Sopenharmony_ci "tlsv1 alert decryption failed"}, 450e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_DECRYPT_ERROR), 451e1051a39Sopenharmony_ci "tlsv1 alert decrypt error"}, 452e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_EXPORT_RESTRICTION), 453e1051a39Sopenharmony_ci "tlsv1 alert export restriction"}, 454e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_INAPPROPRIATE_FALLBACK), 455e1051a39Sopenharmony_ci "tlsv1 alert inappropriate fallback"}, 456e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY), 457e1051a39Sopenharmony_ci "tlsv1 alert insufficient security"}, 458e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_INTERNAL_ERROR), 459e1051a39Sopenharmony_ci "tlsv1 alert internal error"}, 460e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_NO_RENEGOTIATION), 461e1051a39Sopenharmony_ci "tlsv1 alert no renegotiation"}, 462e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_PROTOCOL_VERSION), 463e1051a39Sopenharmony_ci "tlsv1 alert protocol version"}, 464e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_RECORD_OVERFLOW), 465e1051a39Sopenharmony_ci "tlsv1 alert record overflow"}, 466e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_UNKNOWN_CA), 467e1051a39Sopenharmony_ci "tlsv1 alert unknown ca"}, 468e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_USER_CANCELLED), 469e1051a39Sopenharmony_ci "tlsv1 alert user cancelled"}, 470e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE), 471e1051a39Sopenharmony_ci "tlsv1 bad certificate hash value"}, 472e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE), 473e1051a39Sopenharmony_ci "tlsv1 bad certificate status response"}, 474e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE), 475e1051a39Sopenharmony_ci "tlsv1 certificate unobtainable"}, 476e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_UNRECOGNIZED_NAME), 477e1051a39Sopenharmony_ci "tlsv1 unrecognized name"}, 478e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_UNSUPPORTED_EXTENSION), 479e1051a39Sopenharmony_ci "tlsv1 unsupported extension"}, 480e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLS_ILLEGAL_EXPORTER_LABEL), 481e1051a39Sopenharmony_ci "tls illegal exporter label"}, 482e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLS_INVALID_ECPOINTFORMAT_LIST), 483e1051a39Sopenharmony_ci "tls invalid ecpointformat list"}, 484e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TOO_MANY_KEY_UPDATES), 485e1051a39Sopenharmony_ci "too many key updates"}, 486e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TOO_MANY_WARN_ALERTS), 487e1051a39Sopenharmony_ci "too many warn alerts"}, 488e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TOO_MUCH_EARLY_DATA), 489e1051a39Sopenharmony_ci "too much early data"}, 490e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNABLE_TO_FIND_ECDH_PARAMETERS), 491e1051a39Sopenharmony_ci "unable to find ecdh parameters"}, 492e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNABLE_TO_FIND_PUBLIC_KEY_PARAMETERS), 493e1051a39Sopenharmony_ci "unable to find public key parameters"}, 494e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNABLE_TO_LOAD_SSL3_MD5_ROUTINES), 495e1051a39Sopenharmony_ci "unable to load ssl3 md5 routines"}, 496e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES), 497e1051a39Sopenharmony_ci "unable to load ssl3 sha1 routines"}, 498e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNEXPECTED_CCS_MESSAGE), 499e1051a39Sopenharmony_ci "unexpected ccs message"}, 500e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNEXPECTED_END_OF_EARLY_DATA), 501e1051a39Sopenharmony_ci "unexpected end of early data"}, 502e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNEXPECTED_EOF_WHILE_READING), 503e1051a39Sopenharmony_ci "unexpected eof while reading"}, 504e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNEXPECTED_MESSAGE), "unexpected message"}, 505e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNEXPECTED_RECORD), "unexpected record"}, 506e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNINITIALIZED), "uninitialized"}, 507e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_ALERT_TYPE), "unknown alert type"}, 508e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_CERTIFICATE_TYPE), 509e1051a39Sopenharmony_ci "unknown certificate type"}, 510e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_CIPHER_RETURNED), 511e1051a39Sopenharmony_ci "unknown cipher returned"}, 512e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_CIPHER_TYPE), 513e1051a39Sopenharmony_ci "unknown cipher type"}, 514e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_CMD_NAME), "unknown cmd name"}, 515e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_COMMAND), "unknown command"}, 516e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_DIGEST), "unknown digest"}, 517e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE), 518e1051a39Sopenharmony_ci "unknown key exchange type"}, 519e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_PKEY_TYPE), "unknown pkey type"}, 520e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_PROTOCOL), "unknown protocol"}, 521e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_SSL_VERSION), 522e1051a39Sopenharmony_ci "unknown ssl version"}, 523e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_STATE), "unknown state"}, 524e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSAFE_LEGACY_RENEGOTIATION_DISABLED), 525e1051a39Sopenharmony_ci "unsafe legacy renegotiation disabled"}, 526e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSOLICITED_EXTENSION), 527e1051a39Sopenharmony_ci "unsolicited extension"}, 528e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_COMPRESSION_ALGORITHM), 529e1051a39Sopenharmony_ci "unsupported compression algorithm"}, 530e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_ELLIPTIC_CURVE), 531e1051a39Sopenharmony_ci "unsupported elliptic curve"}, 532e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_PROTOCOL), 533e1051a39Sopenharmony_ci "unsupported protocol"}, 534e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_SSL_VERSION), 535e1051a39Sopenharmony_ci "unsupported ssl version"}, 536e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_STATUS_TYPE), 537e1051a39Sopenharmony_ci "unsupported status type"}, 538e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_USE_SRTP_NOT_NEGOTIATED), 539e1051a39Sopenharmony_ci "use srtp not negotiated"}, 540e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_VERSION_TOO_HIGH), "version too high"}, 541e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_VERSION_TOO_LOW), "version too low"}, 542e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_CERTIFICATE_TYPE), 543e1051a39Sopenharmony_ci "wrong certificate type"}, 544e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_CIPHER_RETURNED), 545e1051a39Sopenharmony_ci "wrong cipher returned"}, 546e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_CURVE), "wrong curve"}, 547e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_SIGNATURE_LENGTH), 548e1051a39Sopenharmony_ci "wrong signature length"}, 549e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_SIGNATURE_SIZE), 550e1051a39Sopenharmony_ci "wrong signature size"}, 551e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_SIGNATURE_TYPE), 552e1051a39Sopenharmony_ci "wrong signature type"}, 553e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_SSL_VERSION), "wrong ssl version"}, 554e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_VERSION_NUMBER), 555e1051a39Sopenharmony_ci "wrong version number"}, 556e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_X509_LIB), "x509 lib"}, 557e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_X509_VERIFICATION_SETUP_PROBLEMS), 558e1051a39Sopenharmony_ci "x509 verification setup problems"}, 559e1051a39Sopenharmony_ci {0, NULL} 560e1051a39Sopenharmony_ci}; 561e1051a39Sopenharmony_ci 562e1051a39Sopenharmony_ci#endif 563e1051a39Sopenharmony_ci 564e1051a39Sopenharmony_ciint ossl_err_load_SSL_strings(void) 565e1051a39Sopenharmony_ci{ 566e1051a39Sopenharmony_ci#ifndef OPENSSL_NO_ERR 567e1051a39Sopenharmony_ci if (ERR_reason_error_string(SSL_str_reasons[0].error) == NULL) 568e1051a39Sopenharmony_ci ERR_load_strings_const(SSL_str_reasons); 569e1051a39Sopenharmony_ci#endif 570e1051a39Sopenharmony_ci return 1; 571e1051a39Sopenharmony_ci} 572