]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/property/property_err.c
ERR: Rebuild all generated error headers and source files
[thirdparty/openssl.git] / crypto / property / property_err.c
CommitLineData
3037d0aa
P
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
14a6c6a4 3 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
3037d0aa
P
4 *
5 * Licensed under the Apache License 2.0 (the "License"). You may not use
6 * this file except in compliance with the License. You can obtain a copy
7 * in the file LICENSE in the source distribution or at
8 * https://www.openssl.org/source/license.html
9 */
10
11#include <openssl/err.h>
12#include "internal/propertyerr.h"
13
14#ifndef OPENSSL_NO_ERR
15
3037d0aa
P
16static const ERR_STRING_DATA PROP_str_reasons[] = {
17 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NAME_TOO_LONG), "name too long"},
18 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NOT_AN_ASCII_CHARACTER),
19 "not an ascii character"},
20 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NOT_AN_HEXADECIMAL_DIGIT),
21 "not an hexadecimal digit"},
22 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NOT_AN_IDENTIFIER), "not an identifier"},
23 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NOT_AN_OCTAL_DIGIT),
24 "not an octal digit"},
25 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NOT_A_DECIMAL_DIGIT),
26 "not a decimal digit"},
79c44b4e
VL
27 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NO_MATCHING_STRING_DELIMITER),
28 "no matching string delimiter"},
3037d0aa
P
29 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NO_VALUE), "no value"},
30 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_PARSE_FAILED), "parse failed"},
31 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_STRING_TOO_LONG), "string too long"},
32 {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_TRAILING_CHARACTERS),
33 "trailing characters"},
34 {0, NULL}
35};
36
37#endif
38
14a6c6a4 39int err_load_PROP_strings_int(void)
3037d0aa
P
40{
41#ifndef OPENSSL_NO_ERR
0cd1b144 42 if (ERR_reason_error_string(PROP_str_reasons[0].error) == NULL)
3037d0aa 43 ERR_load_strings_const(PROP_str_reasons);
3037d0aa
P
44#endif
45 return 1;
46}