]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/sslerr.h
Transfer the functionality from ssl3_read_n to the new record layer
[thirdparty/openssl.git] / include / openssl / sslerr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
e2d5742b 3 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
52df25cf 4 *
48f4ad77 5 * Licensed under the Apache License 2.0 (the "License"). You may not use
52df25cf
RS
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_SSLERR_H
12# define OPENSSL_SSLERR_H
d86167ec
DMSP
13# pragma once
14
cbfa5b03
RS
15# include <openssl/opensslconf.h>
16# include <openssl/symhacks.h>
14a6c6a4 17# include <openssl/sslerr_legacy.h>
cbfa5b03 18
2a6a5607 19
52df25cf 20
52df25cf
RS
21/*
22 * SSL reason codes.
23 */
358ffa05 24# define SSL_R_APPLICATION_DATA_AFTER_CLOSE_NOTIFY 291
52df25cf
RS
25# define SSL_R_APP_DATA_IN_HANDSHAKE 100
26# define SSL_R_ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT 272
52df25cf
RS
27# define SSL_R_AT_LEAST_TLS_1_2_NEEDED_IN_SUITEB_MODE 158
28# define SSL_R_BAD_CHANGE_CIPHER_SPEC 103
29# define SSL_R_BAD_CIPHER 186
30# define SSL_R_BAD_DATA 390
31# define SSL_R_BAD_DATA_RETURNED_BY_CALLBACK 106
32# define SSL_R_BAD_DECOMPRESSION 107
33# define SSL_R_BAD_DH_VALUE 102
34# define SSL_R_BAD_DIGEST_LENGTH 111
f63a17d6 35# define SSL_R_BAD_EARLY_DATA 233
52df25cf
RS
36# define SSL_R_BAD_ECC_CERT 304
37# define SSL_R_BAD_ECPOINT 306
38# define SSL_R_BAD_EXTENSION 110
39# define SSL_R_BAD_HANDSHAKE_LENGTH 332
f63a17d6 40# define SSL_R_BAD_HANDSHAKE_STATE 236
52df25cf 41# define SSL_R_BAD_HELLO_REQUEST 105
426dfc9f 42# define SSL_R_BAD_HRR_VERSION 263
52df25cf
RS
43# define SSL_R_BAD_KEY_SHARE 108
44# define SSL_R_BAD_KEY_UPDATE 122
d8434cf8 45# define SSL_R_BAD_LEGACY_VERSION 292
52df25cf 46# define SSL_R_BAD_LENGTH 271
f63a17d6 47# define SSL_R_BAD_PACKET 240
52df25cf
RS
48# define SSL_R_BAD_PACKET_LENGTH 115
49# define SSL_R_BAD_PROTOCOL_VERSION_NUMBER 116
9368f865 50# define SSL_R_BAD_PSK 219
52df25cf
RS
51# define SSL_R_BAD_PSK_IDENTITY 114
52# define SSL_R_BAD_RECORD_TYPE 443
53# define SSL_R_BAD_RSA_ENCRYPT 119
54# define SSL_R_BAD_SIGNATURE 123
55# define SSL_R_BAD_SRP_A_LENGTH 347
56# define SSL_R_BAD_SRP_PARAMETERS 371
57# define SSL_R_BAD_SRTP_MKI_VALUE 352
58# define SSL_R_BAD_SRTP_PROTECTION_PROFILE_LIST 353
59# define SSL_R_BAD_SSL_FILETYPE 124
60# define SSL_R_BAD_VALUE 384
61# define SSL_R_BAD_WRITE_RETRY 127
635c8f77 62# define SSL_R_BINDER_DOES_NOT_VERIFY 253
52df25cf
RS
63# define SSL_R_BIO_NOT_SET 128
64# define SSL_R_BLOCK_CIPHER_PAD_IS_WRONG 129
65# define SSL_R_BN_LIB 130
f63a17d6 66# define SSL_R_CALLBACK_FAILED 234
52df25cf 67# define SSL_R_CANNOT_CHANGE_CIPHER 109
462f4f4b 68# define SSL_R_CANNOT_GET_GROUP_NAME 299
52df25cf
RS
69# define SSL_R_CA_DN_LENGTH_MISMATCH 131
70# define SSL_R_CA_KEY_TOO_SMALL 397
71# define SSL_R_CA_MD_TOO_WEAK 398
72# define SSL_R_CCS_RECEIVED_EARLY 133
73# define SSL_R_CERTIFICATE_VERIFY_FAILED 134
74# define SSL_R_CERT_CB_ERROR 377
75# define SSL_R_CERT_LENGTH_MISMATCH 135
a055a881 76# define SSL_R_CIPHERSUITE_DIGEST_HAS_CHANGED 218
52df25cf 77# define SSL_R_CIPHER_CODE_WRONG_LENGTH 137
52df25cf
RS
78# define SSL_R_CLIENTHELLO_TLSEXT 226
79# define SSL_R_COMPRESSED_LENGTH_TOO_LONG 140
80# define SSL_R_COMPRESSION_DISABLED 343
81# define SSL_R_COMPRESSION_FAILURE 141
82# define SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE 307
83# define SSL_R_COMPRESSION_LIBRARY_ERROR 142
84# define SSL_R_CONNECTION_TYPE_NOT_SET 144
85# define SSL_R_CONTEXT_NOT_DANE_ENABLED 167
86# define SSL_R_COOKIE_GEN_CALLBACK_FAILURE 400
87# define SSL_R_COOKIE_MISMATCH 308
db9592c1 88# define SSL_R_COPY_PARAMETERS_FAILED 296
52df25cf
RS
89# define SSL_R_CUSTOM_EXT_HANDLER_ALREADY_INSTALLED 206
90# define SSL_R_DANE_ALREADY_ENABLED 172
91# define SSL_R_DANE_CANNOT_OVERRIDE_MTYPE_FULL 173
92# define SSL_R_DANE_NOT_ENABLED 175
93# define SSL_R_DANE_TLSA_BAD_CERTIFICATE 180
94# define SSL_R_DANE_TLSA_BAD_CERTIFICATE_USAGE 184
95# define SSL_R_DANE_TLSA_BAD_DATA_LENGTH 189
96# define SSL_R_DANE_TLSA_BAD_DIGEST_LENGTH 192
97# define SSL_R_DANE_TLSA_BAD_MATCHING_TYPE 200
98# define SSL_R_DANE_TLSA_BAD_PUBLIC_KEY 201
99# define SSL_R_DANE_TLSA_BAD_SELECTOR 202
100# define SSL_R_DANE_TLSA_NULL_DATA 203
101# define SSL_R_DATA_BETWEEN_CCS_AND_FINISHED 145
102# define SSL_R_DATA_LENGTH_TOO_LONG 146
103# define SSL_R_DECRYPTION_FAILED 147
104# define SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC 281
105# define SSL_R_DH_KEY_TOO_SMALL 394
106# define SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG 148
107# define SSL_R_DIGEST_CHECK_FAILED 149
108# define SSL_R_DTLS_MESSAGE_TOO_BIG 334
109# define SSL_R_DUPLICATE_COMPRESSION_ID 309
110# define SSL_R_ECC_CERT_NOT_FOR_SIGNING 318
111# define SSL_R_ECDH_REQUIRED_FOR_SUITEB_MODE 374
112# define SSL_R_EE_KEY_TOO_SMALL 399
113# define SSL_R_EMPTY_SRTP_PROTECTION_PROFILE_LIST 354
114# define SSL_R_ENCRYPTED_LENGTH_TOO_LONG 150
115# define SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST 151
116# define SSL_R_ERROR_SETTING_TLSA_BASE_DOMAIN 204
117# define SSL_R_EXCEEDS_MAX_FRAGMENT_SIZE 194
118# define SSL_R_EXCESSIVE_MESSAGE_SIZE 152
9d75dce3 119# define SSL_R_EXTENSION_NOT_RECEIVED 279
52df25cf
RS
120# define SSL_R_EXTRA_DATA_IN_MESSAGE 153
121# define SSL_R_EXT_LENGTH_MISMATCH 163
e2d5742b 122# define SSL_R_FAILED_TO_GET_PARAMETER 316
52df25cf
RS
123# define SSL_R_FAILED_TO_INIT_ASYNC 405
124# define SSL_R_FRAGMENTED_CLIENT_HELLO 401
125# define SSL_R_GOT_A_FIN_BEFORE_A_CCS 154
126# define SSL_R_HTTPS_PROXY_REQUEST 155
127# define SSL_R_HTTP_REQUEST 156
128# define SSL_R_ILLEGAL_POINT_COMPRESSION 162
129# define SSL_R_ILLEGAL_SUITEB_DIGEST 380
130# define SSL_R_INAPPROPRIATE_FALLBACK 373
131# define SSL_R_INCONSISTENT_COMPRESSION 340
ffc5bbaa
MC
132# define SSL_R_INCONSISTENT_EARLY_DATA_ALPN 222
133# define SSL_R_INCONSISTENT_EARLY_DATA_SNI 231
52df25cf 134# define SSL_R_INCONSISTENT_EXTMS 104
a2c2e000 135# define SSL_R_INSUFFICIENT_SECURITY 241
52df25cf 136# define SSL_R_INVALID_ALERT 205
fdd92367 137# define SSL_R_INVALID_CCS_MESSAGE 260
f63a17d6 138# define SSL_R_INVALID_CERTIFICATE_OR_ALG 238
52df25cf
RS
139# define SSL_R_INVALID_COMMAND 280
140# define SSL_R_INVALID_COMPRESSION_ALGORITHM 341
9d75dce3 141# define SSL_R_INVALID_CONFIG 283
52df25cf 142# define SSL_R_INVALID_CONFIGURATION_NAME 113
9d75dce3 143# define SSL_R_INVALID_CONTEXT 282
52df25cf
RS
144# define SSL_R_INVALID_CT_VALIDATION_TYPE 212
145# define SSL_R_INVALID_KEY_UPDATE_TYPE 120
146# define SSL_R_INVALID_MAX_EARLY_DATA 174
147# define SSL_R_INVALID_NULL_CMD_NAME 385
148# define SSL_R_INVALID_SEQUENCE_NUMBER 402
149# define SSL_R_INVALID_SERVERINFO_DATA 388
fdd92367 150# define SSL_R_INVALID_SESSION_ID 999
52df25cf
RS
151# define SSL_R_INVALID_SRP_USERNAME 357
152# define SSL_R_INVALID_STATUS_RESPONSE 328
153# define SSL_R_INVALID_TICKET_KEYS_LENGTH 325
154# define SSL_R_LENGTH_MISMATCH 159
155# define SSL_R_LENGTH_TOO_LONG 404
156# define SSL_R_LENGTH_TOO_SHORT 160
157# define SSL_R_LIBRARY_BUG 274
158# define SSL_R_LIBRARY_HAS_NO_CIPHERS 161
159# define SSL_R_MISSING_DSA_SIGNING_CERT 165
160# define SSL_R_MISSING_ECDSA_SIGNING_CERT 381
47e2ee07 161# define SSL_R_MISSING_FATAL 256
37933acb 162# define SSL_R_MISSING_PARAMETERS 290
f84ab284 163# define SSL_R_MISSING_PSK_KEX_MODES_EXTENSION 310
52df25cf
RS
164# define SSL_R_MISSING_RSA_CERTIFICATE 168
165# define SSL_R_MISSING_RSA_ENCRYPTING_CERT 169
166# define SSL_R_MISSING_RSA_SIGNING_CERT 170
167# define SSL_R_MISSING_SIGALGS_EXTENSION 112
ebefced9 168# define SSL_R_MISSING_SIGNING_CERT 221
52df25cf
RS
169# define SSL_R_MISSING_SRP_PARAM 358
170# define SSL_R_MISSING_SUPPORTED_GROUPS_EXTENSION 209
171# define SSL_R_MISSING_TMP_DH_KEY 171
172# define SSL_R_MISSING_TMP_ECDH_KEY 311
3d35e3a2 173# define SSL_R_MIXED_HANDSHAKE_AND_NON_HANDSHAKE_DATA 293
52df25cf 174# define SSL_R_NOT_ON_RECORD_BOUNDARY 182
37933acb 175# define SSL_R_NOT_REPLACING_CERTIFICATE 289
9d75dce3 176# define SSL_R_NOT_SERVER 284
f63a17d6 177# define SSL_R_NO_APPLICATION_PROTOCOL 235
52df25cf
RS
178# define SSL_R_NO_CERTIFICATES_RETURNED 176
179# define SSL_R_NO_CERTIFICATE_ASSIGNED 177
180# define SSL_R_NO_CERTIFICATE_SET 179
181# define SSL_R_NO_CHANGE_FOLLOWING_HRR 214
182# define SSL_R_NO_CIPHERS_AVAILABLE 181
183# define SSL_R_NO_CIPHERS_SPECIFIED 183
184# define SSL_R_NO_CIPHER_MATCH 185
185# define SSL_R_NO_CLIENT_CERT_METHOD 331
186# define SSL_R_NO_COMPRESSION_SPECIFIED 187
e440f513 187# define SSL_R_NO_COOKIE_CALLBACK_SET 287
52df25cf
RS
188# define SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER 330
189# define SSL_R_NO_METHOD_SPECIFIED 188
190# define SSL_R_NO_PEM_EXTENSIONS 389
191# define SSL_R_NO_PRIVATE_KEY_ASSIGNED 190
192# define SSL_R_NO_PROTOCOLS_AVAILABLE 191
193# define SSL_R_NO_RENEGOTIATION 339
194# define SSL_R_NO_REQUIRED_DIGEST 324
195# define SSL_R_NO_SHARED_CIPHER 193
196# define SSL_R_NO_SHARED_GROUPS 410
197# define SSL_R_NO_SHARED_SIGNATURE_ALGORITHMS 376
198# define SSL_R_NO_SRTP_PROFILES 359
7cd1420b 199# define SSL_R_NO_SUITABLE_DIGEST_ALGORITHM 297
8b1db5d3 200# define SSL_R_NO_SUITABLE_GROUPS 295
52df25cf
RS
201# define SSL_R_NO_SUITABLE_KEY_SHARE 101
202# define SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM 118
203# define SSL_R_NO_VALID_SCTS 216
204# define SSL_R_NO_VERIFY_COOKIE_CALLBACK 403
205# define SSL_R_NULL_SSL_CTX 195
206# define SSL_R_NULL_SSL_METHOD_PASSED 196
c0f4400c 207# define SSL_R_OCSP_CALLBACK_FAILURE 305
52df25cf
RS
208# define SSL_R_OLD_SESSION_CIPHER_NOT_RETURNED 197
209# define SSL_R_OLD_SESSION_COMPRESSION_ALGORITHM_NOT_RETURNED 344
f63a17d6 210# define SSL_R_OVERFLOW_ERROR 237
52df25cf
RS
211# define SSL_R_PACKET_LENGTH_TOO_LONG 198
212# define SSL_R_PARSE_TLSEXT 227
213# define SSL_R_PATH_TOO_LONG 270
214# define SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE 199
215# define SSL_R_PEM_NAME_BAD_PREFIX 391
216# define SSL_R_PEM_NAME_TOO_SHORT 392
217# define SSL_R_PIPELINE_FAILURE 406
9d75dce3 218# define SSL_R_POST_HANDSHAKE_AUTH_ENCODING_ERR 278
37933acb 219# define SSL_R_PRIVATE_KEY_MISMATCH 288
52df25cf
RS
220# define SSL_R_PROTOCOL_IS_SHUTDOWN 207
221# define SSL_R_PSK_IDENTITY_NOT_FOUND 223
222# define SSL_R_PSK_NO_CLIENT_CB 224
223# define SSL_R_PSK_NO_SERVER_CB 225
224# define SSL_R_READ_BIO_NOT_SET 211
225# define SSL_R_READ_TIMEOUT_EXPIRED 312
e2d5742b 226# define SSL_R_RECORD_LAYER_FAILURE 313
52df25cf
RS
227# define SSL_R_RECORD_LENGTH_MISMATCH 213
228# define SSL_R_RECORD_TOO_SMALL 298
229# define SSL_R_RENEGOTIATE_EXT_TOO_LONG 335
230# define SSL_R_RENEGOTIATION_ENCODING_ERR 336
231# define SSL_R_RENEGOTIATION_MISMATCH 337
9d75dce3
TS
232# define SSL_R_REQUEST_PENDING 285
233# define SSL_R_REQUEST_SENT 286
52df25cf
RS
234# define SSL_R_REQUIRED_CIPHER_MISSING 215
235# define SSL_R_REQUIRED_COMPRESSION_ALGORITHM_MISSING 342
236# define SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING 345
237# define SSL_R_SCT_VERIFICATION_FAILED 208
238# define SSL_R_SERVERHELLO_TLSEXT 275
239# define SSL_R_SESSION_ID_CONTEXT_UNINITIALIZED 277
240# define SSL_R_SHUTDOWN_WHILE_IN_INIT 407
241# define SSL_R_SIGNATURE_ALGORITHMS_ERROR 360
242# define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE 220
243# define SSL_R_SRP_A_CALC 361
244# define SSL_R_SRTP_COULD_NOT_ALLOCATE_PROFILES 362
245# define SSL_R_SRTP_PROTECTION_PROFILE_LIST_TOO_LONG 363
246# define SSL_R_SRTP_UNKNOWN_PROTECTION_PROFILE 364
cf72c757 247# define SSL_R_SSL3_EXT_INVALID_MAX_FRAGMENT_LENGTH 232
52df25cf
RS
248# define SSL_R_SSL3_EXT_INVALID_SERVERNAME 319
249# define SSL_R_SSL3_EXT_INVALID_SERVERNAME_TYPE 320
250# define SSL_R_SSL3_SESSION_ID_TOO_LONG 300
251# define SSL_R_SSLV3_ALERT_BAD_CERTIFICATE 1042
252# define SSL_R_SSLV3_ALERT_BAD_RECORD_MAC 1020
253# define SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED 1045
254# define SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED 1044
255# define SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN 1046
256# define SSL_R_SSLV3_ALERT_DECOMPRESSION_FAILURE 1030
257# define SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE 1040
258# define SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER 1047
259# define SSL_R_SSLV3_ALERT_NO_CERTIFICATE 1041
260# define SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE 1010
261# define SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE 1043
262# define SSL_R_SSL_COMMAND_SECTION_EMPTY 117
263# define SSL_R_SSL_COMMAND_SECTION_NOT_FOUND 125
264# define SSL_R_SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION 228
265# define SSL_R_SSL_HANDSHAKE_FAILURE 229
266# define SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS 230
267# define SSL_R_SSL_NEGATIVE_LENGTH 372
268# define SSL_R_SSL_SECTION_EMPTY 126
269# define SSL_R_SSL_SECTION_NOT_FOUND 136
270# define SSL_R_SSL_SESSION_ID_CALLBACK_FAILED 301
271# define SSL_R_SSL_SESSION_ID_CONFLICT 302
272# define SSL_R_SSL_SESSION_ID_CONTEXT_TOO_LONG 273
273# define SSL_R_SSL_SESSION_ID_HAS_BAD_LENGTH 303
274# define SSL_R_SSL_SESSION_ID_TOO_LONG 408
275# define SSL_R_SSL_SESSION_VERSION_MISMATCH 210
276# define SSL_R_STILL_IN_INIT 121
43a0f273
MC
277# define SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED 1116
278# define SSL_R_TLSV13_ALERT_MISSING_EXTENSION 1109
52df25cf
RS
279# define SSL_R_TLSV1_ALERT_ACCESS_DENIED 1049
280# define SSL_R_TLSV1_ALERT_DECODE_ERROR 1050
281# define SSL_R_TLSV1_ALERT_DECRYPTION_FAILED 1021
282# define SSL_R_TLSV1_ALERT_DECRYPT_ERROR 1051
283# define SSL_R_TLSV1_ALERT_EXPORT_RESTRICTION 1060
284# define SSL_R_TLSV1_ALERT_INAPPROPRIATE_FALLBACK 1086
285# define SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY 1071
286# define SSL_R_TLSV1_ALERT_INTERNAL_ERROR 1080
287# define SSL_R_TLSV1_ALERT_NO_RENEGOTIATION 1100
288# define SSL_R_TLSV1_ALERT_PROTOCOL_VERSION 1070
289# define SSL_R_TLSV1_ALERT_RECORD_OVERFLOW 1022
290# define SSL_R_TLSV1_ALERT_UNKNOWN_CA 1048
291# define SSL_R_TLSV1_ALERT_USER_CANCELLED 1090
292# define SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE 1114
293# define SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE 1113
294# define SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE 1111
295# define SSL_R_TLSV1_UNRECOGNIZED_NAME 1112
296# define SSL_R_TLSV1_UNSUPPORTED_EXTENSION 1110
52df25cf
RS
297# define SSL_R_TLS_ILLEGAL_EXPORTER_LABEL 367
298# define SSL_R_TLS_INVALID_ECPOINTFORMAT_LIST 157
299# define SSL_R_TOO_MANY_KEY_UPDATES 132
300# define SSL_R_TOO_MANY_WARN_ALERTS 409
301# define SSL_R_TOO_MUCH_EARLY_DATA 164
302# define SSL_R_UNABLE_TO_FIND_ECDH_PARAMETERS 314
303# define SSL_R_UNABLE_TO_FIND_PUBLIC_KEY_PARAMETERS 239
304# define SSL_R_UNABLE_TO_LOAD_SSL3_MD5_ROUTINES 242
305# define SSL_R_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES 243
fdd92367 306# define SSL_R_UNEXPECTED_CCS_MESSAGE 262
52df25cf 307# define SSL_R_UNEXPECTED_END_OF_EARLY_DATA 178
d924dbf4 308# define SSL_R_UNEXPECTED_EOF_WHILE_READING 294
52df25cf
RS
309# define SSL_R_UNEXPECTED_MESSAGE 244
310# define SSL_R_UNEXPECTED_RECORD 245
311# define SSL_R_UNINITIALIZED 276
312# define SSL_R_UNKNOWN_ALERT_TYPE 246
313# define SSL_R_UNKNOWN_CERTIFICATE_TYPE 247
314# define SSL_R_UNKNOWN_CIPHER_RETURNED 248
315# define SSL_R_UNKNOWN_CIPHER_TYPE 249
316# define SSL_R_UNKNOWN_CMD_NAME 386
317# define SSL_R_UNKNOWN_COMMAND 139
318# define SSL_R_UNKNOWN_DIGEST 368
319# define SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE 250
320# define SSL_R_UNKNOWN_PKEY_TYPE 251
321# define SSL_R_UNKNOWN_PROTOCOL 252
322# define SSL_R_UNKNOWN_SSL_VERSION 254
323# define SSL_R_UNKNOWN_STATE 255
324# define SSL_R_UNSAFE_LEGACY_RENEGOTIATION_DISABLED 338
325# define SSL_R_UNSOLICITED_EXTENSION 217
326# define SSL_R_UNSUPPORTED_COMPRESSION_ALGORITHM 257
327# define SSL_R_UNSUPPORTED_ELLIPTIC_CURVE 315
328# define SSL_R_UNSUPPORTED_PROTOCOL 258
329# define SSL_R_UNSUPPORTED_SSL_VERSION 259
330# define SSL_R_UNSUPPORTED_STATUS_TYPE 329
331# define SSL_R_USE_SRTP_NOT_NEGOTIATED 369
332# define SSL_R_VERSION_TOO_HIGH 166
333# define SSL_R_VERSION_TOO_LOW 396
334# define SSL_R_WRONG_CERTIFICATE_TYPE 383
335# define SSL_R_WRONG_CIPHER_RETURNED 261
336# define SSL_R_WRONG_CURVE 378
337# define SSL_R_WRONG_SIGNATURE_LENGTH 264
338# define SSL_R_WRONG_SIGNATURE_SIZE 265
339# define SSL_R_WRONG_SIGNATURE_TYPE 370
340# define SSL_R_WRONG_SSL_VERSION 266
341# define SSL_R_WRONG_VERSION_NUMBER 267
342# define SSL_R_X509_LIB 268
343# define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269
344
345#endif