]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/store/store_err.c
Regenerate mkerr files
[thirdparty/openssl.git] / crypto / store / store_err.c
CommitLineData
71a5516d
RL
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
cbfa5b03 3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
71a5516d 4 *
5c0d0c86 5 * Licensed under the Apache License 2.0 (the "License"). You may not use
71a5516d
RL
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 <openssl/storeerr.h>
13
14#ifndef OPENSSL_NO_ERR
15
71a5516d 16static const ERR_STRING_DATA OSSL_STORE_str_reasons[] = {
9c6da42d
RL
17 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_AMBIGUOUS_CONTENT_TYPE),
18 "ambiguous content type"},
7ad2ef36
RL
19 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_BAD_PASSWORD_READ),
20 "bad password read"},
a09003ea
RL
21 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC),
22 "error verifying pkcs12 mac"},
fac8673b
RL
23 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_FINGERPRINT_SIZE_DOES_NOT_MATCH_DIGEST),
24 "fingerprint size does not match digest"},
71a5516d
RL
25 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_INVALID_SCHEME),
26 "invalid scheme"},
e61ec2d9 27 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_IS_NOT_A), "is not a"},
5ee40746
RL
28 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_LOADER_INCOMPLETE),
29 "loader incomplete"},
072bfcc9
RL
30 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_LOADING_STARTED),
31 "loading started"},
71a5516d
RL
32 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_CERTIFICATE),
33 "not a certificate"},
34 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_CRL), "not a crl"},
35 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_KEY), "not a key"},
36 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_NAME), "not a name"},
37 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_PARAMETERS),
38 "not parameters"},
a09003ea
RL
39 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_PASSPHRASE_CALLBACK_ERROR),
40 "passphrase callback error"},
9c6da42d
RL
41 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_PATH_MUST_BE_ABSOLUTE),
42 "path must be absolute"},
93d2f9fa
RL
43 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES),
44 "search only supported for directories"},
9c6da42d
RL
45 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED),
46 "ui process interrupted or cancelled"},
71a5516d
RL
47 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNREGISTERED_SCHEME),
48 "unregistered scheme"},
9c6da42d
RL
49 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE),
50 "unsupported content type"},
fac8673b
RL
51 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNSUPPORTED_OPERATION),
52 "unsupported operation"},
93d2f9fa
RL
53 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNSUPPORTED_SEARCH_TYPE),
54 "unsupported search type"},
ba476aa3
RL
55 {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED),
56 "uri authority unsupported"},
71a5516d
RL
57 {0, NULL}
58};
59
60#endif
61
62int ERR_load_OSSL_STORE_strings(void)
63{
64#ifndef OPENSSL_NO_ERR
cbfa5b03 65 if (ERR_func_error_string(OSSL_STORE_str_reasons[0].error) == NULL)
71a5516d 66 ERR_load_strings_const(OSSL_STORE_str_reasons);
71a5516d
RL
67#endif
68 return 1;
69}