| 
									
										
										
										
											2019-04-02 17:16:53 +08:00
										 |  |  | /*
 | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |  * Generated by util/mkerr.pl DO NOT EDIT | 
					
						
							| 
									
										
										
										
											2024-03-20 20:07:54 +08:00
										 |  |  |  * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved. | 
					
						
							| 
									
										
										
										
											2019-04-02 17:16:53 +08:00
										 |  |  |  * | 
					
						
							|  |  |  |  * Licensed under the Apache License 2.0 (the "License").  You may not use | 
					
						
							|  |  |  |  * 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/cmperr.h>
 | 
					
						
							| 
									
										
										
										
											2020-11-12 17:36:47 +08:00
										 |  |  | #include "crypto/cmperr.h"
 | 
					
						
							| 
									
										
										
										
											2019-04-02 17:16:53 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-12 17:36:47 +08:00
										 |  |  | #ifndef OPENSSL_NO_CMP
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # ifndef OPENSSL_NO_ERR
 | 
					
						
							| 
									
										
										
										
											2019-04-02 17:16:53 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | static const ERR_STRING_DATA CMP_str_reasons[] = { | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ALGORITHM_NOT_SUPPORTED), | 
					
						
							|  |  |  |     "algorithm not supported"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_BAD_CHECKAFTER_IN_POLLREP), | 
					
						
							|  |  |  |     "bad checkafter in pollrep"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_BAD_REQUEST_ID), "bad request id"}, | 
					
						
							| 
									
										
										
										
											2020-03-10 17:29:46 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_CERTHASH_UNMATCHED), "certhash unmatched"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_CERTID_NOT_FOUND), "certid not found"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_CERTIFICATE_NOT_ACCEPTED), | 
					
						
							|  |  |  |     "certificate not accepted"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_CERTIFICATE_NOT_FOUND), | 
					
						
							|  |  |  |     "certificate not found"}, | 
					
						
							| 
									
										
										
										
											2020-03-10 17:29:46 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_CERTREQMSG_NOT_FOUND), | 
					
						
							|  |  |  |     "certreqmsg not found"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_CERTRESPONSE_NOT_FOUND), | 
					
						
							|  |  |  |     "certresponse not found"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_CERT_AND_KEY_DO_NOT_MATCH), | 
					
						
							|  |  |  |     "cert and key do not match"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_CHECKAFTER_OUT_OF_RANGE), | 
					
						
							|  |  |  |     "checkafter out of range"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ENCOUNTERED_KEYUPDATEWARNING), | 
					
						
							|  |  |  |     "encountered keyupdatewarning"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ENCOUNTERED_WAITING), | 
					
						
							|  |  |  |     "encountered waiting"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CALCULATING_PROTECTION), | 
					
						
							|  |  |  |     "error calculating protection"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_CERTCONF), | 
					
						
							|  |  |  |     "error creating certconf"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_CERTREP), | 
					
						
							|  |  |  |     "error creating certrep"}, | 
					
						
							| 
									
										
										
										
											2020-07-13 20:12:02 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_CERTREQ), | 
					
						
							|  |  |  |     "error creating certreq"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_ERROR), | 
					
						
							|  |  |  |     "error creating error"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_GENM), | 
					
						
							|  |  |  |     "error creating genm"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_GENP), | 
					
						
							|  |  |  |     "error creating genp"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_PKICONF), | 
					
						
							|  |  |  |     "error creating pkiconf"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_POLLREP), | 
					
						
							|  |  |  |     "error creating pollrep"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_POLLREQ), | 
					
						
							|  |  |  |     "error creating pollreq"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_RP), "error creating rp"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_CREATING_RR), "error creating rr"}, | 
					
						
							| 
									
										
										
										
											2019-09-27 16:22:23 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_PARSING_PKISTATUS), | 
					
						
							|  |  |  |     "error parsing pkistatus"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_PROCESSING_MESSAGE), | 
					
						
							|  |  |  |     "error processing message"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_PROTECTING_MESSAGE), | 
					
						
							|  |  |  |     "error protecting message"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_SETTING_CERTHASH), | 
					
						
							|  |  |  |     "error setting certhash"}, | 
					
						
							| 
									
										
										
										
											2020-03-10 17:29:46 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_UNEXPECTED_CERTCONF), | 
					
						
							|  |  |  |     "error unexpected certconf"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_VALIDATING_PROTECTION), | 
					
						
							|  |  |  |     "error validating protection"}, | 
					
						
							| 
									
										
										
										
											2020-05-27 23:28:35 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_ERROR_VALIDATING_SIGNATURE), | 
					
						
							|  |  |  |     "error validating signature"}, | 
					
						
							| 
									
										
										
										
											2023-04-28 19:45:21 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_EXPECTED_POLLREQ), "expected pollreq"}, | 
					
						
							| 
									
										
										
										
											2020-09-04 21:24:14 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_FAILED_BUILDING_OWN_CHAIN), | 
					
						
							|  |  |  |     "failed building own chain"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_FAILED_EXTRACTING_PUBKEY), | 
					
						
							|  |  |  |     "failed extracting pubkey"}, | 
					
						
							| 
									
										
										
										
											2019-09-27 16:22:23 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_FAILURE_OBTAINING_RANDOM), | 
					
						
							|  |  |  |     "failure obtaining random"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_FAIL_INFO_OUT_OF_RANGE), | 
					
						
							|  |  |  |     "fail info out of range"}, | 
					
						
							| 
									
										
										
										
											2024-05-15 19:11:09 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_GENERATE_CERTREQTEMPLATE), | 
					
						
							|  |  |  |     "generate certreqtemplate"}, | 
					
						
							| 
									
										
										
										
											2022-12-04 00:49:08 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_GENERATE_CRLSTATUS), | 
					
						
							|  |  |  |     "error creating crlstatus"}, | 
					
						
							| 
									
										
										
										
											2021-12-04 01:17:50 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_GETTING_GENP), "getting genp"}, | 
					
						
							| 
									
										
										
										
											2022-12-04 00:49:08 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_GET_ITAV), "get itav"}, | 
					
						
							| 
									
										
										
										
											2019-08-10 20:07:22 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_INVALID_ARGS), "invalid args"}, | 
					
						
							| 
									
										
										
										
											2021-12-04 01:17:50 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_INVALID_GENP), "invalid genp"}, | 
					
						
							| 
									
										
										
										
											2024-05-15 19:11:09 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_INVALID_KEYSPEC), "invalid keyspec"}, | 
					
						
							| 
									
										
										
										
											2020-06-17 14:12:19 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_INVALID_OPTION), "invalid option"}, | 
					
						
							| 
									
										
										
										
											2022-09-17 16:56:21 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_INVALID_ROOTCAKEYUPDATE), | 
					
						
							| 
									
										
										
										
											2022-12-04 00:49:08 +08:00
										 |  |  |     "invalid rootcakeyupdate"}, | 
					
						
							| 
									
										
										
										
											2021-06-16 16:26:26 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_CERTID), "missing certid"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_KEY_INPUT_FOR_CREATING_PROTECTION), | 
					
						
							|  |  |  |     "missing key input for creating protection"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_KEY_USAGE_DIGITALSIGNATURE), | 
					
						
							|  |  |  |     "missing key usage digitalsignature"}, | 
					
						
							| 
									
										
										
										
											2020-07-13 20:12:02 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_P10CSR), "missing p10csr"}, | 
					
						
							| 
									
										
										
										
											2020-08-13 23:44:54 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_PBM_SECRET), "missing pbm secret"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_PRIVATE_KEY), | 
					
						
							|  |  |  |     "missing private key"}, | 
					
						
							| 
									
										
										
										
											2023-04-26 01:14:34 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_PRIVATE_KEY_FOR_POPO), | 
					
						
							|  |  |  |     "missing private key for popo"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_PROTECTION), "missing protection"}, | 
					
						
							| 
									
										
										
										
											2023-04-26 01:14:34 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_PUBLIC_KEY), "missing public key"}, | 
					
						
							| 
									
										
										
										
											2020-04-17 19:34:11 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_REFERENCE_CERT), | 
					
						
							|  |  |  |     "missing reference cert"}, | 
					
						
							| 
									
										
										
										
											2022-11-22 15:43:03 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_SECRET), "missing secret"}, | 
					
						
							| 
									
										
										
										
											2019-09-27 16:22:23 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_SENDER_IDENTIFICATION), | 
					
						
							|  |  |  |     "missing sender identification"}, | 
					
						
							| 
									
										
										
										
											2022-11-22 15:43:03 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_TRUST_ANCHOR), | 
					
						
							|  |  |  |     "missing trust anchor"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MISSING_TRUST_STORE), | 
					
						
							|  |  |  |     "missing trust store"}, | 
					
						
							| 
									
										
										
										
											2020-03-10 17:29:46 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MULTIPLE_REQUESTS_NOT_SUPPORTED), | 
					
						
							|  |  |  |     "multiple requests not supported"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MULTIPLE_RESPONSES_NOT_SUPPORTED), | 
					
						
							|  |  |  |     "multiple responses not supported"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_MULTIPLE_SAN_SOURCES), | 
					
						
							|  |  |  |     "multiple san sources"}, | 
					
						
							| 
									
										
										
										
											2019-08-10 20:07:22 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_NO_STDIO), "no stdio"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_NO_SUITABLE_SENDER_CERT), | 
					
						
							|  |  |  |     "no suitable sender cert"}, | 
					
						
							| 
									
										
										
										
											2019-08-10 20:07:22 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_NULL_ARGUMENT), "null argument"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_PKIBODY_ERROR), "pkibody error"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_PKISTATUSINFO_NOT_FOUND), | 
					
						
							|  |  |  |     "pkistatusinfo not found"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_POLLING_FAILED), "polling failed"}, | 
					
						
							| 
									
										
										
										
											2019-10-31 06:39:35 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_POTENTIALLY_INVALID_CERTIFICATE), | 
					
						
							|  |  |  |     "potentially invalid certificate"}, | 
					
						
							| 
									
										
										
										
											2020-03-31 22:04:55 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_RECEIVED_ERROR), "received error"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_RECIPNONCE_UNMATCHED), | 
					
						
							|  |  |  |     "recipnonce unmatched"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_REQUEST_NOT_ACCEPTED), | 
					
						
							|  |  |  |     "request not accepted"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_REQUEST_REJECTED_BY_SERVER), | 
					
						
							|  |  |  |     "request rejected by server"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_SENDER_GENERALNAME_TYPE_NOT_SUPPORTED), | 
					
						
							|  |  |  |     "sender generalname type not supported"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_SRVCERT_DOES_NOT_VALIDATE_MSG), | 
					
						
							|  |  |  |     "srvcert does not validate msg"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_TOTAL_TIMEOUT), "total timeout"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_TRANSACTIONID_UNMATCHED), | 
					
						
							|  |  |  |     "transactionid unmatched"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_TRANSFER_ERROR), "transfer error"}, | 
					
						
							| 
									
										
										
										
											2021-12-04 01:17:50 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNCLEAN_CTX), "unclean ctx"}, | 
					
						
							| 
									
										
										
										
											2023-06-14 03:56:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNEXPECTED_CERTPROFILE), | 
					
						
							| 
									
										
										
										
											2022-12-04 00:49:08 +08:00
										 |  |  |     "unexpected certprofile"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNEXPECTED_CRLSTATUSLIST), | 
					
						
							|  |  |  |     "unexpected crlstatuslist"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNEXPECTED_PKIBODY), "unexpected pkibody"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNEXPECTED_PKISTATUS), | 
					
						
							|  |  |  |     "unexpected pkistatus"}, | 
					
						
							| 
									
										
										
										
											2023-04-28 19:45:21 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNEXPECTED_POLLREQ), "unexpected pollreq"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNEXPECTED_PVNO), "unexpected pvno"}, | 
					
						
							| 
									
										
										
										
											2023-01-04 20:45:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNEXPECTED_SENDER), "unexpected sender"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNKNOWN_ALGORITHM_ID), | 
					
						
							|  |  |  |     "unknown algorithm id"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNKNOWN_CERT_TYPE), "unknown cert type"}, | 
					
						
							| 
									
										
										
										
											2022-12-04 00:49:08 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNKNOWN_CRL_ISSUER), "unknown crl issuer"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNKNOWN_PKISTATUS), "unknown pkistatus"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNSUPPORTED_ALGORITHM), | 
					
						
							|  |  |  |     "unsupported algorithm"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNSUPPORTED_KEY_TYPE), | 
					
						
							|  |  |  |     "unsupported key type"}, | 
					
						
							| 
									
										
										
										
											2023-04-28 19:45:21 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNSUPPORTED_PKIBODY), | 
					
						
							|  |  |  |     "unsupported pkibody"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_UNSUPPORTED_PROTECTION_ALG_DHBASEDMAC), | 
					
						
							|  |  |  |     "unsupported protection alg dhbasedmac"}, | 
					
						
							| 
									
										
										
										
											2020-06-17 14:12:19 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_VALUE_TOO_LARGE), "value too large"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_VALUE_TOO_SMALL), "value too small"}, | 
					
						
							| 
									
										
										
										
											2019-11-05 16:56:59 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_WRONG_ALGORITHM_OID), | 
					
						
							|  |  |  |     "wrong algorithm oid"}, | 
					
						
							| 
									
										
										
										
											2021-06-16 16:26:26 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_WRONG_CERTID), "wrong certid"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_WRONG_CERTID_IN_RP), "wrong certid in rp"}, | 
					
						
							| 
									
										
										
										
											2020-02-15 21:57:32 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_WRONG_PBM_VALUE), "wrong pbm value"}, | 
					
						
							| 
									
										
										
										
											2020-03-11 00:32:57 +08:00
										 |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_WRONG_RP_COMPONENT_COUNT), | 
					
						
							|  |  |  |     "wrong rp component count"}, | 
					
						
							|  |  |  |     {ERR_PACK(ERR_LIB_CMP, 0, CMP_R_WRONG_SERIAL_IN_RP), "wrong serial in rp"}, | 
					
						
							| 
									
										
										
										
											2019-04-02 17:16:53 +08:00
										 |  |  |     {0, NULL} | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-12 17:36:47 +08:00
										 |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2019-04-02 17:16:53 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-25 10:04:22 +08:00
										 |  |  | int ossl_err_load_CMP_strings(void) | 
					
						
							| 
									
										
										
										
											2019-04-02 17:16:53 +08:00
										 |  |  | { | 
					
						
							| 
									
										
										
										
											2020-11-12 17:36:47 +08:00
										 |  |  | # ifndef OPENSSL_NO_ERR
 | 
					
						
							| 
									
										
										
										
											2019-09-05 03:45:56 +08:00
										 |  |  |     if (ERR_reason_error_string(CMP_str_reasons[0].error) == NULL) | 
					
						
							| 
									
										
										
										
											2019-04-02 17:16:53 +08:00
										 |  |  |         ERR_load_strings_const(CMP_str_reasons); | 
					
						
							| 
									
										
										
										
											2020-11-12 17:36:47 +08:00
										 |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2019-04-02 17:16:53 +08:00
										 |  |  |     return 1; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2020-11-12 17:36:47 +08:00
										 |  |  | #else
 | 
					
						
							|  |  |  | NON_EMPTY_TRANSLATION_UNIT | 
					
						
							|  |  |  | #endif
 |