2016-12-08 22:51:31 +08:00
|
|
|
/*
|
|
|
|
* Generated by util/mkerr.pl DO NOT EDIT
|
2018-10-12 22:46:41 +08:00
|
|
|
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2016-12-08 22:51:31 +08:00
|
|
|
*
|
2018-12-06 20:58:30 +08:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-12-08 22:51:31 +08:00
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <openssl/err.h>
|
|
|
|
#include <openssl/storeerr.h>
|
|
|
|
|
|
|
|
#ifndef OPENSSL_NO_ERR
|
|
|
|
|
|
|
|
static const ERR_STRING_DATA OSSL_STORE_str_reasons[] = {
|
2016-11-29 00:30:21 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_AMBIGUOUS_CONTENT_TYPE),
|
|
|
|
"ambiguous content type"},
|
2017-02-11 08:18:29 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_BAD_PASSWORD_READ),
|
|
|
|
"bad password read"},
|
2017-02-11 08:16:07 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC),
|
|
|
|
"error verifying pkcs12 mac"},
|
2017-02-19 19:24:19 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_FINGERPRINT_SIZE_DOES_NOT_MATCH_DIGEST),
|
|
|
|
"fingerprint size does not match digest"},
|
2016-12-08 22:51:31 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_INVALID_SCHEME),
|
|
|
|
"invalid scheme"},
|
2016-12-06 06:15:58 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_IS_NOT_A), "is not a"},
|
2017-06-30 03:47:54 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_LOADER_INCOMPLETE),
|
|
|
|
"loader incomplete"},
|
2017-02-11 09:33:18 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_LOADING_STARTED),
|
|
|
|
"loading started"},
|
2016-12-08 22:51:31 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_CERTIFICATE),
|
|
|
|
"not a certificate"},
|
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_CRL), "not a crl"},
|
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_NAME), "not a name"},
|
2020-07-30 16:09:43 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_PRIVATE_KEY),
|
|
|
|
"not a private key"},
|
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_PUBLIC_KEY),
|
|
|
|
"not a public key"},
|
2016-12-08 22:51:31 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_PARAMETERS),
|
|
|
|
"not parameters"},
|
2017-02-11 08:16:07 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_PASSPHRASE_CALLBACK_ERROR),
|
|
|
|
"passphrase callback error"},
|
2016-11-29 00:30:21 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_PATH_MUST_BE_ABSOLUTE),
|
|
|
|
"path must be absolute"},
|
2017-02-20 09:39:52 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES),
|
|
|
|
"search only supported for directories"},
|
2016-11-29 00:30:21 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED),
|
|
|
|
"ui process interrupted or cancelled"},
|
2016-12-08 22:51:31 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNREGISTERED_SCHEME),
|
|
|
|
"unregistered scheme"},
|
2016-11-29 00:30:21 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE),
|
|
|
|
"unsupported content type"},
|
2017-02-19 19:24:19 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNSUPPORTED_OPERATION),
|
|
|
|
"unsupported operation"},
|
2017-02-20 09:39:52 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNSUPPORTED_SEARCH_TYPE),
|
|
|
|
"unsupported search type"},
|
2017-07-11 17:46:14 +08:00
|
|
|
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED),
|
|
|
|
"uri authority unsupported"},
|
2016-12-08 22:51:31 +08:00
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int ERR_load_OSSL_STORE_strings(void)
|
|
|
|
{
|
|
|
|
#ifndef OPENSSL_NO_ERR
|
2019-09-05 03:45:56 +08:00
|
|
|
if (ERR_reason_error_string(OSSL_STORE_str_reasons[0].error) == NULL)
|
2016-12-08 22:51:31 +08:00
|
|
|
ERR_load_strings_const(OSSL_STORE_str_reasons);
|
|
|
|
#endif
|
|
|
|
return 1;
|
|
|
|
}
|