]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/cmperr.h
cmperr.h: use free reason value 106 rather than 197 for CMP_R_UNEXPECTED_SENDER
[thirdparty/openssl.git] / include / openssl / cmperr.h
CommitLineData
8869ad4a
AK
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
2d658598 3 * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
8869ad4a
AK
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
ae4186b0
DMSP
11#ifndef OPENSSL_CMPERR_H
12# define OPENSSL_CMPERR_H
032b13c7 13# pragma once
8869ad4a 14
cbfa5b03
RS
15# include <openssl/opensslconf.h>
16# include <openssl/symhacks.h>
14a6c6a4 17# include <openssl/cryptoerr_legacy.h>
cbfa5b03
RS
18
19
8869ad4a
AK
20# ifndef OPENSSL_NO_CMP
21
8869ad4a 22
8869ad4a
AK
23/*
24 * CMP reason codes.
25 */
31b28ad9 26# define CMP_R_ALGORITHM_NOT_SUPPORTED 139
7e765f46 27# define CMP_R_BAD_CHECKAFTER_IN_POLLREP 167
3dbc5156 28# define CMP_R_BAD_REQUEST_ID 108
62dcd2aa 29# define CMP_R_CERTHASH_UNMATCHED 156
3dbc5156 30# define CMP_R_CERTID_NOT_FOUND 109
7e765f46 31# define CMP_R_CERTIFICATE_NOT_ACCEPTED 169
3dbc5156 32# define CMP_R_CERTIFICATE_NOT_FOUND 112
62dcd2aa 33# define CMP_R_CERTREQMSG_NOT_FOUND 157
3dbc5156
DDO
34# define CMP_R_CERTRESPONSE_NOT_FOUND 113
35# define CMP_R_CERT_AND_KEY_DO_NOT_MATCH 114
7e765f46
DDO
36# define CMP_R_CHECKAFTER_OUT_OF_RANGE 181
37# define CMP_R_ENCOUNTERED_KEYUPDATEWARNING 176
38# define CMP_R_ENCOUNTERED_WAITING 162
3dbc5156
DDO
39# define CMP_R_ERROR_CALCULATING_PROTECTION 115
40# define CMP_R_ERROR_CREATING_CERTCONF 116
41# define CMP_R_ERROR_CREATING_CERTREP 117
299e0f1e 42# define CMP_R_ERROR_CREATING_CERTREQ 163
3dbc5156
DDO
43# define CMP_R_ERROR_CREATING_ERROR 118
44# define CMP_R_ERROR_CREATING_GENM 119
45# define CMP_R_ERROR_CREATING_GENP 120
3dbc5156
DDO
46# define CMP_R_ERROR_CREATING_PKICONF 122
47# define CMP_R_ERROR_CREATING_POLLREP 123
48# define CMP_R_ERROR_CREATING_POLLREQ 124
49# define CMP_R_ERROR_CREATING_RP 125
50# define CMP_R_ERROR_CREATING_RR 126
4dde554c 51# define CMP_R_ERROR_PARSING_PKISTATUS 107
7e765f46 52# define CMP_R_ERROR_PROCESSING_MESSAGE 158
3dbc5156
DDO
53# define CMP_R_ERROR_PROTECTING_MESSAGE 127
54# define CMP_R_ERROR_SETTING_CERTHASH 128
62dcd2aa 55# define CMP_R_ERROR_UNEXPECTED_CERTCONF 160
31b28ad9 56# define CMP_R_ERROR_VALIDATING_PROTECTION 140
032b13c7 57# define CMP_R_ERROR_VALIDATING_SIGNATURE 171
bedffe17 58# define CMP_R_EXPECTED_POLLREQ 104
15076c26 59# define CMP_R_FAILED_BUILDING_OWN_CHAIN 164
31b28ad9 60# define CMP_R_FAILED_EXTRACTING_PUBKEY 141
4dde554c 61# define CMP_R_FAILURE_OBTAINING_RANDOM 110
3dbc5156 62# define CMP_R_FAIL_INFO_OUT_OF_RANGE 129
d477484d 63# define CMP_R_GETTING_GENP 192
7960dbec 64# define CMP_R_INVALID_ARGS 100
d477484d 65# define CMP_R_INVALID_GENP 193
11baa470 66# define CMP_R_INVALID_OPTION 174
01b04851 67# define CMP_R_INVALID_ROOTCAKEYUPDATE 195
7df56ada 68# define CMP_R_MISSING_CERTID 165
3dbc5156 69# define CMP_R_MISSING_KEY_INPUT_FOR_CREATING_PROTECTION 130
31b28ad9 70# define CMP_R_MISSING_KEY_USAGE_DIGITALSIGNATURE 142
299e0f1e 71# define CMP_R_MISSING_P10CSR 121
6d1f50b5 72# define CMP_R_MISSING_PBM_SECRET 166
3dbc5156 73# define CMP_R_MISSING_PRIVATE_KEY 131
2d658598 74# define CMP_R_MISSING_PRIVATE_KEY_FOR_POPO 190
31b28ad9 75# define CMP_R_MISSING_PROTECTION 143
2d658598 76# define CMP_R_MISSING_PUBLIC_KEY 183
753283cd 77# define CMP_R_MISSING_REFERENCE_CERT 168
fc933357 78# define CMP_R_MISSING_SECRET 178
4dde554c 79# define CMP_R_MISSING_SENDER_IDENTIFICATION 111
fc933357 80# define CMP_R_MISSING_TRUST_ANCHOR 179
31b28ad9 81# define CMP_R_MISSING_TRUST_STORE 144
62dcd2aa 82# define CMP_R_MULTIPLE_REQUESTS_NOT_SUPPORTED 161
7e765f46 83# define CMP_R_MULTIPLE_RESPONSES_NOT_SUPPORTED 170
3dbc5156 84# define CMP_R_MULTIPLE_SAN_SOURCES 102
7960dbec 85# define CMP_R_NO_STDIO 194
31b28ad9 86# define CMP_R_NO_SUITABLE_SENDER_CERT 145
7960dbec 87# define CMP_R_NULL_ARGUMENT 103
31b28ad9 88# define CMP_R_PKIBODY_ERROR 146
3dbc5156 89# define CMP_R_PKISTATUSINFO_NOT_FOUND 132
7e765f46 90# define CMP_R_POLLING_FAILED 172
31b28ad9 91# define CMP_R_POTENTIALLY_INVALID_CERTIFICATE 147
7e765f46 92# define CMP_R_RECEIVED_ERROR 180
31b28ad9
DDO
93# define CMP_R_RECIPNONCE_UNMATCHED 148
94# define CMP_R_REQUEST_NOT_ACCEPTED 149
7e765f46 95# define CMP_R_REQUEST_REJECTED_BY_SERVER 182
31b28ad9
DDO
96# define CMP_R_SENDER_GENERALNAME_TYPE_NOT_SUPPORTED 150
97# define CMP_R_SRVCERT_DOES_NOT_VALIDATE_MSG 151
7e765f46 98# define CMP_R_TOTAL_TIMEOUT 184
31b28ad9 99# define CMP_R_TRANSACTIONID_UNMATCHED 152
7e765f46 100# define CMP_R_TRANSFER_ERROR 159
d477484d 101# define CMP_R_UNCLEAN_CTX 191
7c6577ba 102# define CMP_R_UNEXPECTED_CERTPROFILE 196
3dbc5156 103# define CMP_R_UNEXPECTED_PKIBODY 133
7e765f46 104# define CMP_R_UNEXPECTED_PKISTATUS 185
bedffe17 105# define CMP_R_UNEXPECTED_POLLREQ 105
31b28ad9 106# define CMP_R_UNEXPECTED_PVNO 153
5003abae 107# define CMP_R_UNEXPECTED_SENDER 106
3dbc5156
DDO
108# define CMP_R_UNKNOWN_ALGORITHM_ID 134
109# define CMP_R_UNKNOWN_CERT_TYPE 135
7e765f46 110# define CMP_R_UNKNOWN_PKISTATUS 186
3dbc5156
DDO
111# define CMP_R_UNSUPPORTED_ALGORITHM 136
112# define CMP_R_UNSUPPORTED_KEY_TYPE 137
bedffe17 113# define CMP_R_UNSUPPORTED_PKIBODY 101
31b28ad9 114# define CMP_R_UNSUPPORTED_PROTECTION_ALG_DHBASEDMAC 154
11baa470
DDO
115# define CMP_R_VALUE_TOO_LARGE 175
116# define CMP_R_VALUE_TOO_SMALL 177
3dbc5156 117# define CMP_R_WRONG_ALGORITHM_OID 138
7df56ada 118# define CMP_R_WRONG_CERTID 189
7e765f46 119# define CMP_R_WRONG_CERTID_IN_RP 187
31b28ad9 120# define CMP_R_WRONG_PBM_VALUE 155
7e765f46
DDO
121# define CMP_R_WRONG_RP_COMPONENT_COUNT 188
122# define CMP_R_WRONG_SERIAL_IN_RP 173
8869ad4a
AK
123
124# endif
125#endif