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/asn1err.h> 13e1051a39Sopenharmony_ci#include "crypto/asn1err.h" 14e1051a39Sopenharmony_ci 15e1051a39Sopenharmony_ci#ifndef OPENSSL_NO_ERR 16e1051a39Sopenharmony_ci 17e1051a39Sopenharmony_cistatic const ERR_STRING_DATA ASN1_str_reasons[] = { 18e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ADDING_OBJECT), "adding object"}, 19e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ASN1_PARSE_ERROR), "asn1 parse error"}, 20e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ASN1_SIG_PARSE_ERROR), 21e1051a39Sopenharmony_ci "asn1 sig parse error"}, 22e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_AUX_ERROR), "aux error"}, 23e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_BAD_OBJECT_HEADER), "bad object header"}, 24e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_BAD_TEMPLATE), "bad template"}, 25e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_BMPSTRING_IS_WRONG_LENGTH), 26e1051a39Sopenharmony_ci "bmpstring is wrong length"}, 27e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_BN_LIB), "bn lib"}, 28e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_BOOLEAN_IS_WRONG_LENGTH), 29e1051a39Sopenharmony_ci "boolean is wrong length"}, 30e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_BUFFER_TOO_SMALL), "buffer too small"}, 31e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER), 32e1051a39Sopenharmony_ci "cipher has no object identifier"}, 33e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_CONTEXT_NOT_INITIALISED), 34e1051a39Sopenharmony_ci "context not initialised"}, 35e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_DATA_IS_WRONG), "data is wrong"}, 36e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_DECODE_ERROR), "decode error"}, 37e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_DEPTH_EXCEEDED), "depth exceeded"}, 38e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED), 39e1051a39Sopenharmony_ci "digest and key type not supported"}, 40e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ENCODE_ERROR), "encode error"}, 41e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ERROR_GETTING_TIME), 42e1051a39Sopenharmony_ci "error getting time"}, 43e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ERROR_LOADING_SECTION), 44e1051a39Sopenharmony_ci "error loading section"}, 45e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ERROR_SETTING_CIPHER_PARAMS), 46e1051a39Sopenharmony_ci "error setting cipher params"}, 47e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_EXPECTING_AN_INTEGER), 48e1051a39Sopenharmony_ci "expecting an integer"}, 49e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_EXPECTING_AN_OBJECT), 50e1051a39Sopenharmony_ci "expecting an object"}, 51e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_EXPLICIT_LENGTH_MISMATCH), 52e1051a39Sopenharmony_ci "explicit length mismatch"}, 53e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_EXPLICIT_TAG_NOT_CONSTRUCTED), 54e1051a39Sopenharmony_ci "explicit tag not constructed"}, 55e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_FIELD_MISSING), "field missing"}, 56e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_FIRST_NUM_TOO_LARGE), 57e1051a39Sopenharmony_ci "first num too large"}, 58e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_HEADER_TOO_LONG), "header too long"}, 59e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_BITSTRING_FORMAT), 60e1051a39Sopenharmony_ci "illegal bitstring format"}, 61e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_BOOLEAN), "illegal boolean"}, 62e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_CHARACTERS), 63e1051a39Sopenharmony_ci "illegal characters"}, 64e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_FORMAT), "illegal format"}, 65e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_HEX), "illegal hex"}, 66e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_IMPLICIT_TAG), 67e1051a39Sopenharmony_ci "illegal implicit tag"}, 68e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_INTEGER), "illegal integer"}, 69e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_NEGATIVE_VALUE), 70e1051a39Sopenharmony_ci "illegal negative value"}, 71e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_NESTED_TAGGING), 72e1051a39Sopenharmony_ci "illegal nested tagging"}, 73e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_NULL), "illegal null"}, 74e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_NULL_VALUE), 75e1051a39Sopenharmony_ci "illegal null value"}, 76e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_OBJECT), "illegal object"}, 77e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_OPTIONAL_ANY), 78e1051a39Sopenharmony_ci "illegal optional any"}, 79e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE), 80e1051a39Sopenharmony_ci "illegal options on item template"}, 81e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_PADDING), "illegal padding"}, 82e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_TAGGED_ANY), 83e1051a39Sopenharmony_ci "illegal tagged any"}, 84e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_TIME_VALUE), 85e1051a39Sopenharmony_ci "illegal time value"}, 86e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ILLEGAL_ZERO_CONTENT), 87e1051a39Sopenharmony_ci "illegal zero content"}, 88e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INTEGER_NOT_ASCII_FORMAT), 89e1051a39Sopenharmony_ci "integer not ascii format"}, 90e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INTEGER_TOO_LARGE_FOR_LONG), 91e1051a39Sopenharmony_ci "integer too large for long"}, 92e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_BIT_STRING_BITS_LEFT), 93e1051a39Sopenharmony_ci "invalid bit string bits left"}, 94e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_BMPSTRING_LENGTH), 95e1051a39Sopenharmony_ci "invalid bmpstring length"}, 96e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_DIGIT), "invalid digit"}, 97e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_MIME_TYPE), "invalid mime type"}, 98e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_MODIFIER), "invalid modifier"}, 99e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_NUMBER), "invalid number"}, 100e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_OBJECT_ENCODING), 101e1051a39Sopenharmony_ci "invalid object encoding"}, 102e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_SCRYPT_PARAMETERS), 103e1051a39Sopenharmony_ci "invalid scrypt parameters"}, 104e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_SEPARATOR), "invalid separator"}, 105e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_STRING_TABLE_VALUE), 106e1051a39Sopenharmony_ci "invalid string table value"}, 107e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_UNIVERSALSTRING_LENGTH), 108e1051a39Sopenharmony_ci "invalid universalstring length"}, 109e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_UTF8STRING), 110e1051a39Sopenharmony_ci "invalid utf8string"}, 111e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_INVALID_VALUE), "invalid value"}, 112e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_LENGTH_TOO_LONG), "length too long"}, 113e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_LIST_ERROR), "list error"}, 114e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_MIME_NO_CONTENT_TYPE), 115e1051a39Sopenharmony_ci "mime no content type"}, 116e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_MIME_PARSE_ERROR), "mime parse error"}, 117e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_MIME_SIG_PARSE_ERROR), 118e1051a39Sopenharmony_ci "mime sig parse error"}, 119e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_MISSING_EOC), "missing eoc"}, 120e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_MISSING_SECOND_NUMBER), 121e1051a39Sopenharmony_ci "missing second number"}, 122e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_MISSING_VALUE), "missing value"}, 123e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_MSTRING_NOT_UNIVERSAL), 124e1051a39Sopenharmony_ci "mstring not universal"}, 125e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_MSTRING_WRONG_TAG), "mstring wrong tag"}, 126e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NESTED_ASN1_STRING), 127e1051a39Sopenharmony_ci "nested asn1 string"}, 128e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NESTED_TOO_DEEP), "nested too deep"}, 129e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NON_HEX_CHARACTERS), 130e1051a39Sopenharmony_ci "non hex characters"}, 131e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NOT_ASCII_FORMAT), "not ascii format"}, 132e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NOT_ENOUGH_DATA), "not enough data"}, 133e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NO_CONTENT_TYPE), "no content type"}, 134e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NO_MATCHING_CHOICE_TYPE), 135e1051a39Sopenharmony_ci "no matching choice type"}, 136e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NO_MULTIPART_BODY_FAILURE), 137e1051a39Sopenharmony_ci "no multipart body failure"}, 138e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NO_MULTIPART_BOUNDARY), 139e1051a39Sopenharmony_ci "no multipart boundary"}, 140e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NO_SIG_CONTENT_TYPE), 141e1051a39Sopenharmony_ci "no sig content type"}, 142e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_NULL_IS_WRONG_LENGTH), 143e1051a39Sopenharmony_ci "null is wrong length"}, 144e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_OBJECT_NOT_ASCII_FORMAT), 145e1051a39Sopenharmony_ci "object not ascii format"}, 146e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_ODD_NUMBER_OF_CHARS), 147e1051a39Sopenharmony_ci "odd number of chars"}, 148e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_SECOND_NUMBER_TOO_LARGE), 149e1051a39Sopenharmony_ci "second number too large"}, 150e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_SEQUENCE_LENGTH_MISMATCH), 151e1051a39Sopenharmony_ci "sequence length mismatch"}, 152e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_SEQUENCE_NOT_CONSTRUCTED), 153e1051a39Sopenharmony_ci "sequence not constructed"}, 154e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG), 155e1051a39Sopenharmony_ci "sequence or set needs config"}, 156e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_SHORT_LINE), "short line"}, 157e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_SIG_INVALID_MIME_TYPE), 158e1051a39Sopenharmony_ci "sig invalid mime type"}, 159e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_STREAMING_NOT_SUPPORTED), 160e1051a39Sopenharmony_ci "streaming not supported"}, 161e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_STRING_TOO_LONG), "string too long"}, 162e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_STRING_TOO_SHORT), "string too short"}, 163e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD), 164e1051a39Sopenharmony_ci "the asn1 object identifier is not known for this md"}, 165e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_TIME_NOT_ASCII_FORMAT), 166e1051a39Sopenharmony_ci "time not ascii format"}, 167e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_TOO_LARGE), "too large"}, 168e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_TOO_LONG), "too long"}, 169e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_TOO_SMALL), "too small"}, 170e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_TYPE_NOT_CONSTRUCTED), 171e1051a39Sopenharmony_ci "type not constructed"}, 172e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_TYPE_NOT_PRIMITIVE), 173e1051a39Sopenharmony_ci "type not primitive"}, 174e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNEXPECTED_EOC), "unexpected eoc"}, 175e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH), 176e1051a39Sopenharmony_ci "universalstring is wrong length"}, 177e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNKNOWN_DIGEST), "unknown digest"}, 178e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNKNOWN_FORMAT), "unknown format"}, 179e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM), 180e1051a39Sopenharmony_ci "unknown message digest algorithm"}, 181e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNKNOWN_OBJECT_TYPE), 182e1051a39Sopenharmony_ci "unknown object type"}, 183e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNKNOWN_PUBLIC_KEY_TYPE), 184e1051a39Sopenharmony_ci "unknown public key type"}, 185e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM), 186e1051a39Sopenharmony_ci "unknown signature algorithm"}, 187e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNKNOWN_TAG), "unknown tag"}, 188e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE), 189e1051a39Sopenharmony_ci "unsupported any defined by type"}, 190e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNSUPPORTED_CIPHER), 191e1051a39Sopenharmony_ci "unsupported cipher"}, 192e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE), 193e1051a39Sopenharmony_ci "unsupported public key type"}, 194e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_UNSUPPORTED_TYPE), "unsupported type"}, 195e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_WRONG_INTEGER_TYPE), 196e1051a39Sopenharmony_ci "wrong integer type"}, 197e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_WRONG_PUBLIC_KEY_TYPE), 198e1051a39Sopenharmony_ci "wrong public key type"}, 199e1051a39Sopenharmony_ci {ERR_PACK(ERR_LIB_ASN1, 0, ASN1_R_WRONG_TAG), "wrong tag"}, 200e1051a39Sopenharmony_ci {0, NULL} 201e1051a39Sopenharmony_ci}; 202e1051a39Sopenharmony_ci 203e1051a39Sopenharmony_ci#endif 204e1051a39Sopenharmony_ci 205e1051a39Sopenharmony_ciint ossl_err_load_ASN1_strings(void) 206e1051a39Sopenharmony_ci{ 207e1051a39Sopenharmony_ci#ifndef OPENSSL_NO_ERR 208e1051a39Sopenharmony_ci if (ERR_reason_error_string(ASN1_str_reasons[0].error) == NULL) 209e1051a39Sopenharmony_ci ERR_load_strings_const(ASN1_str_reasons); 210e1051a39Sopenharmony_ci#endif 211e1051a39Sopenharmony_ci return 1; 212e1051a39Sopenharmony_ci} 213