sslerr.h 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
  4. *
  5. * Licensed under the OpenSSL license (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. #ifndef HEADER_SSLERR_H
  11. # define HEADER_SSLERR_H
  12. # ifdef __cplusplus
  13. extern "C"
  14. # endif
  15. int ERR_load_SSL_strings(void);
  16. /*
  17. * SSL function codes.
  18. */
  19. # define SSL_F_ADD_CLIENT_KEY_SHARE_EXT 438
  20. # define SSL_F_ADD_KEY_SHARE 512
  21. # define SSL_F_BYTES_TO_CIPHER_LIST 519
  22. # define SSL_F_CHECK_SUITEB_CIPHER_LIST 331
  23. # define SSL_F_CONSTRUCT_CA_NAMES 552
  24. # define SSL_F_CONSTRUCT_KEY_EXCHANGE_TBS 553
  25. # define SSL_F_CREATE_SYNTHETIC_MESSAGE_HASH 539
  26. # define SSL_F_CT_MOVE_SCTS 345
  27. # define SSL_F_CT_STRICT 349
  28. # define SSL_F_CUSTOM_EXT_ADD 554
  29. # define SSL_F_CUSTOM_EXT_PARSE 555
  30. # define SSL_F_D2I_SSL_SESSION 103
  31. # define SSL_F_DANE_CTX_ENABLE 347
  32. # define SSL_F_DANE_MTYPE_SET 393
  33. # define SSL_F_DANE_TLSA_ADD 394
  34. # define SSL_F_DERIVE_SECRET_KEY_AND_IV 514
  35. # define SSL_F_DO_DTLS1_WRITE 245
  36. # define SSL_F_DO_SSL3_WRITE 104
  37. # define SSL_F_DTLS1_BUFFER_RECORD 247
  38. # define SSL_F_DTLS1_CHECK_TIMEOUT_NUM 318
  39. # define SSL_F_DTLS1_HEARTBEAT 305
  40. # define SSL_F_DTLS1_PREPROCESS_FRAGMENT 288
  41. # define SSL_F_DTLS1_PROCESS_BUFFERED_RECORDS 424
  42. # define SSL_F_DTLS1_PROCESS_RECORD 257
  43. # define SSL_F_DTLS1_READ_BYTES 258
  44. # define SSL_F_DTLS1_READ_FAILED 339
  45. # define SSL_F_DTLS1_RETRANSMIT_MESSAGE 390
  46. # define SSL_F_DTLS1_WRITE_APP_DATA_BYTES 268
  47. # define SSL_F_DTLS1_WRITE_BYTES 545
  48. # define SSL_F_DTLSV1_LISTEN 350
  49. # define SSL_F_DTLS_CONSTRUCT_CHANGE_CIPHER_SPEC 371
  50. # define SSL_F_DTLS_CONSTRUCT_HELLO_VERIFY_REQUEST 385
  51. # define SSL_F_DTLS_GET_REASSEMBLED_MESSAGE 370
  52. # define SSL_F_DTLS_PROCESS_HELLO_VERIFY 386
  53. # define SSL_F_DTLS_WAIT_FOR_DRY 592
  54. # define SSL_F_EARLY_DATA_COUNT_OK 532
  55. # define SSL_F_FINAL_EARLY_DATA 556
  56. # define SSL_F_FINAL_EC_PT_FORMATS 485
  57. # define SSL_F_FINAL_EMS 486
  58. # define SSL_F_FINAL_KEY_SHARE 503
  59. # define SSL_F_FINAL_MAXFRAGMENTLEN 557
  60. # define SSL_F_FINAL_RENEGOTIATE 483
  61. # define SSL_F_FINAL_SERVER_NAME 558
  62. # define SSL_F_FINAL_SIG_ALGS 497
  63. # define SSL_F_GET_CERT_VERIFY_TBS_DATA 588
  64. # define SSL_F_NSS_KEYLOG_INT 500
  65. # define SSL_F_OPENSSL_INIT_SSL 342
  66. # define SSL_F_OSSL_STATEM_CLIENT13_READ_TRANSITION 436
  67. # define SSL_F_OSSL_STATEM_CLIENT13_WRITE_TRANSITION 598
  68. # define SSL_F_OSSL_STATEM_CLIENT_CONSTRUCT_MESSAGE 430
  69. # define SSL_F_OSSL_STATEM_CLIENT_POST_PROCESS_MESSAGE 593
  70. # define SSL_F_OSSL_STATEM_CLIENT_PROCESS_MESSAGE 594
  71. # define SSL_F_OSSL_STATEM_CLIENT_READ_TRANSITION 417
  72. # define SSL_F_OSSL_STATEM_CLIENT_WRITE_TRANSITION 599
  73. # define SSL_F_OSSL_STATEM_SERVER13_READ_TRANSITION 437
  74. # define SSL_F_OSSL_STATEM_SERVER13_WRITE_TRANSITION 600
  75. # define SSL_F_OSSL_STATEM_SERVER_CONSTRUCT_MESSAGE 431
  76. # define SSL_F_OSSL_STATEM_SERVER_POST_PROCESS_MESSAGE 601
  77. # define SSL_F_OSSL_STATEM_SERVER_POST_WORK 602
  78. # define SSL_F_OSSL_STATEM_SERVER_PROCESS_MESSAGE 603
  79. # define SSL_F_OSSL_STATEM_SERVER_READ_TRANSITION 418
  80. # define SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION 604
  81. # define SSL_F_PARSE_CA_NAMES 541
  82. # define SSL_F_PROCESS_KEY_SHARE_EXT 439
  83. # define SSL_F_READ_STATE_MACHINE 352
  84. # define SSL_F_SET_CLIENT_CIPHERSUITE 540
  85. # define SSL_F_SRP_GENERATE_CLIENT_MASTER_SECRET 595
  86. # define SSL_F_SRP_GENERATE_SERVER_MASTER_SECRET 589
  87. # define SSL_F_SRP_VERIFY_SERVER_PARAM 596
  88. # define SSL_F_SSL3_CHANGE_CIPHER_STATE 129
  89. # define SSL_F_SSL3_CHECK_CERT_AND_ALGORITHM 130
  90. # define SSL_F_SSL3_CTRL 213
  91. # define SSL_F_SSL3_CTX_CTRL 133
  92. # define SSL_F_SSL3_DIGEST_CACHED_RECORDS 293
  93. # define SSL_F_SSL3_DO_CHANGE_CIPHER_SPEC 292
  94. # define SSL_F_SSL3_ENC 608
  95. # define SSL_F_SSL3_FINAL_FINISH_MAC 285
  96. # define SSL_F_SSL3_FINISH_MAC 587
  97. # define SSL_F_SSL3_GENERATE_KEY_BLOCK 238
  98. # define SSL_F_SSL3_GENERATE_MASTER_SECRET 388
  99. # define SSL_F_SSL3_GET_RECORD 143
  100. # define SSL_F_SSL3_INIT_FINISHED_MAC 397
  101. # define SSL_F_SSL3_OUTPUT_CERT_CHAIN 147
  102. # define SSL_F_SSL3_READ_BYTES 148
  103. # define SSL_F_SSL3_READ_N 149
  104. # define SSL_F_SSL3_SETUP_KEY_BLOCK 157
  105. # define SSL_F_SSL3_SETUP_READ_BUFFER 156
  106. # define SSL_F_SSL3_SETUP_WRITE_BUFFER 291
  107. # define SSL_F_SSL3_WRITE_BYTES 158
  108. # define SSL_F_SSL3_WRITE_PENDING 159
  109. # define SSL_F_SSL_ADD_CERT_CHAIN 316
  110. # define SSL_F_SSL_ADD_CERT_TO_BUF 319
  111. # define SSL_F_SSL_ADD_CERT_TO_WPACKET 493
  112. # define SSL_F_SSL_ADD_CLIENTHELLO_RENEGOTIATE_EXT 298
  113. # define SSL_F_SSL_ADD_CLIENTHELLO_TLSEXT 277
  114. # define SSL_F_SSL_ADD_CLIENTHELLO_USE_SRTP_EXT 307
  115. # define SSL_F_SSL_ADD_DIR_CERT_SUBJECTS_TO_STACK 215
  116. # define SSL_F_SSL_ADD_FILE_CERT_SUBJECTS_TO_STACK 216
  117. # define SSL_F_SSL_ADD_SERVERHELLO_RENEGOTIATE_EXT 299
  118. # define SSL_F_SSL_ADD_SERVERHELLO_TLSEXT 278
  119. # define SSL_F_SSL_ADD_SERVERHELLO_USE_SRTP_EXT 308
  120. # define SSL_F_SSL_BAD_METHOD 160
  121. # define SSL_F_SSL_BUILD_CERT_CHAIN 332
  122. # define SSL_F_SSL_BYTES_TO_CIPHER_LIST 161
  123. # define SSL_F_SSL_CACHE_CIPHERLIST 520
  124. # define SSL_F_SSL_CERT_ADD0_CHAIN_CERT 346
  125. # define SSL_F_SSL_CERT_DUP 221
  126. # define SSL_F_SSL_CERT_NEW 162
  127. # define SSL_F_SSL_CERT_SET0_CHAIN 340
  128. # define SSL_F_SSL_CHECK_PRIVATE_KEY 163
  129. # define SSL_F_SSL_CHECK_SERVERHELLO_TLSEXT 280
  130. # define SSL_F_SSL_CHECK_SRP_EXT_CLIENTHELLO 606
  131. # define SSL_F_SSL_CHECK_SRVR_ECC_CERT_AND_ALG 279
  132. # define SSL_F_SSL_CHOOSE_CLIENT_VERSION 607
  133. # define SSL_F_SSL_CIPHER_LIST_TO_BYTES 425
  134. # define SSL_F_SSL_CIPHER_PROCESS_RULESTR 230
  135. # define SSL_F_SSL_CIPHER_STRENGTH_SORT 231
  136. # define SSL_F_SSL_CLEAR 164
  137. # define SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD 165
  138. # define SSL_F_SSL_CONF_CMD 334
  139. # define SSL_F_SSL_CREATE_CIPHER_LIST 166
  140. # define SSL_F_SSL_CTRL 232
  141. # define SSL_F_SSL_CTX_CHECK_PRIVATE_KEY 168
  142. # define SSL_F_SSL_CTX_ENABLE_CT 398
  143. # define SSL_F_SSL_CTX_MAKE_PROFILES 309
  144. # define SSL_F_SSL_CTX_NEW 169
  145. # define SSL_F_SSL_CTX_SET_ALPN_PROTOS 343
  146. # define SSL_F_SSL_CTX_SET_CIPHER_LIST 269
  147. # define SSL_F_SSL_CTX_SET_CLIENT_CERT_ENGINE 290
  148. # define SSL_F_SSL_CTX_SET_CT_VALIDATION_CALLBACK 396
  149. # define SSL_F_SSL_CTX_SET_SESSION_ID_CONTEXT 219
  150. # define SSL_F_SSL_CTX_SET_SSL_VERSION 170
  151. # define SSL_F_SSL_CTX_SET_TLSEXT_MAX_FRAGMENT_LENGTH 551
  152. # define SSL_F_SSL_CTX_USE_CERTIFICATE 171
  153. # define SSL_F_SSL_CTX_USE_CERTIFICATE_ASN1 172
  154. # define SSL_F_SSL_CTX_USE_CERTIFICATE_FILE 173
  155. # define SSL_F_SSL_CTX_USE_PRIVATEKEY 174
  156. # define SSL_F_SSL_CTX_USE_PRIVATEKEY_ASN1 175
  157. # define SSL_F_SSL_CTX_USE_PRIVATEKEY_FILE 176
  158. # define SSL_F_SSL_CTX_USE_PSK_IDENTITY_HINT 272
  159. # define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY 177
  160. # define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_ASN1 178
  161. # define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE 179
  162. # define SSL_F_SSL_CTX_USE_SERVERINFO 336
  163. # define SSL_F_SSL_CTX_USE_SERVERINFO_EX 543
  164. # define SSL_F_SSL_CTX_USE_SERVERINFO_FILE 337
  165. # define SSL_F_SSL_DANE_DUP 403
  166. # define SSL_F_SSL_DANE_ENABLE 395
  167. # define SSL_F_SSL_DERIVE 590
  168. # define SSL_F_SSL_DO_CONFIG 391
  169. # define SSL_F_SSL_DO_HANDSHAKE 180
  170. # define SSL_F_SSL_DUP_CA_LIST 408
  171. # define SSL_F_SSL_ENABLE_CT 402
  172. # define SSL_F_SSL_GENERATE_PKEY_GROUP 559
  173. # define SSL_F_SSL_GENERATE_SESSION_ID 547
  174. # define SSL_F_SSL_GET_NEW_SESSION 181
  175. # define SSL_F_SSL_GET_PREV_SESSION 217
  176. # define SSL_F_SSL_GET_SERVER_CERT_INDEX 322
  177. # define SSL_F_SSL_GET_SIGN_PKEY 183
  178. # define SSL_F_SSL_HANDSHAKE_HASH 560
  179. # define SSL_F_SSL_INIT_WBIO_BUFFER 184
  180. # define SSL_F_SSL_KEY_UPDATE 515
  181. # define SSL_F_SSL_LOAD_CLIENT_CA_FILE 185
  182. # define SSL_F_SSL_LOG_MASTER_SECRET 498
  183. # define SSL_F_SSL_LOG_RSA_CLIENT_KEY_EXCHANGE 499
  184. # define SSL_F_SSL_MODULE_INIT 392
  185. # define SSL_F_SSL_NEW 186
  186. # define SSL_F_SSL_NEXT_PROTO_VALIDATE 565
  187. # define SSL_F_SSL_PARSE_CLIENTHELLO_RENEGOTIATE_EXT 300
  188. # define SSL_F_SSL_PARSE_CLIENTHELLO_TLSEXT 302
  189. # define SSL_F_SSL_PARSE_CLIENTHELLO_USE_SRTP_EXT 310
  190. # define SSL_F_SSL_PARSE_SERVERHELLO_RENEGOTIATE_EXT 301
  191. # define SSL_F_SSL_PARSE_SERVERHELLO_TLSEXT 303
  192. # define SSL_F_SSL_PARSE_SERVERHELLO_USE_SRTP_EXT 311
  193. # define SSL_F_SSL_PEEK 270
  194. # define SSL_F_SSL_PEEK_EX 432
  195. # define SSL_F_SSL_PEEK_INTERNAL 522
  196. # define SSL_F_SSL_READ 223
  197. # define SSL_F_SSL_READ_EARLY_DATA 529
  198. # define SSL_F_SSL_READ_EX 434
  199. # define SSL_F_SSL_READ_INTERNAL 523
  200. # define SSL_F_SSL_RENEGOTIATE 516
  201. # define SSL_F_SSL_RENEGOTIATE_ABBREVIATED 546
  202. # define SSL_F_SSL_SCAN_CLIENTHELLO_TLSEXT 320
  203. # define SSL_F_SSL_SCAN_SERVERHELLO_TLSEXT 321
  204. # define SSL_F_SSL_SESSION_DUP 348
  205. # define SSL_F_SSL_SESSION_NEW 189
  206. # define SSL_F_SSL_SESSION_PRINT_FP 190
  207. # define SSL_F_SSL_SESSION_SET1_ID 423
  208. # define SSL_F_SSL_SESSION_SET1_ID_CONTEXT 312
  209. # define SSL_F_SSL_SET_ALPN_PROTOS 344
  210. # define SSL_F_SSL_SET_CERT 191
  211. # define SSL_F_SSL_SET_CIPHER_LIST 271
  212. # define SSL_F_SSL_SET_CT_VALIDATION_CALLBACK 399
  213. # define SSL_F_SSL_SET_FD 192
  214. # define SSL_F_SSL_SET_PKEY 193
  215. # define SSL_F_SSL_SET_RFD 194
  216. # define SSL_F_SSL_SET_SESSION 195
  217. # define SSL_F_SSL_SET_SESSION_ID_CONTEXT 218
  218. # define SSL_F_SSL_SET_SESSION_TICKET_EXT 294
  219. # define SSL_F_SSL_SET_TLSEXT_MAX_FRAGMENT_LENGTH 550
  220. # define SSL_F_SSL_SET_WFD 196
  221. # define SSL_F_SSL_SHUTDOWN 224
  222. # define SSL_F_SSL_SRP_CTX_INIT 313
  223. # define SSL_F_SSL_START_ASYNC_JOB 389
  224. # define SSL_F_SSL_UNDEFINED_FUNCTION 197
  225. # define SSL_F_SSL_UNDEFINED_VOID_FUNCTION 244
  226. # define SSL_F_SSL_USE_CERTIFICATE 198
  227. # define SSL_F_SSL_USE_CERTIFICATE_ASN1 199
  228. # define SSL_F_SSL_USE_CERTIFICATE_FILE 200
  229. # define SSL_F_SSL_USE_PRIVATEKEY 201
  230. # define SSL_F_SSL_USE_PRIVATEKEY_ASN1 202
  231. # define SSL_F_SSL_USE_PRIVATEKEY_FILE 203
  232. # define SSL_F_SSL_USE_PSK_IDENTITY_HINT 273
  233. # define SSL_F_SSL_USE_RSAPRIVATEKEY 204
  234. # define SSL_F_SSL_USE_RSAPRIVATEKEY_ASN1 205
  235. # define SSL_F_SSL_USE_RSAPRIVATEKEY_FILE 206
  236. # define SSL_F_SSL_VALIDATE_CT 400
  237. # define SSL_F_SSL_VERIFY_CERT_CHAIN 207
  238. # define SSL_F_SSL_VERIFY_CLIENT_POST_HANDSHAKE 616
  239. # define SSL_F_SSL_WRITE 208
  240. # define SSL_F_SSL_WRITE_EARLY_DATA 526
  241. # define SSL_F_SSL_WRITE_EARLY_FINISH 527
  242. # define SSL_F_SSL_WRITE_EX 433
  243. # define SSL_F_SSL_WRITE_INTERNAL 524
  244. # define SSL_F_STATE_MACHINE 353
  245. # define SSL_F_TLS12_CHECK_PEER_SIGALG 333
  246. # define SSL_F_TLS12_COPY_SIGALGS 533
  247. # define SSL_F_TLS13_CHANGE_CIPHER_STATE 440
  248. # define SSL_F_TLS13_ENC 609
  249. # define SSL_F_TLS13_FINAL_FINISH_MAC 605
  250. # define SSL_F_TLS13_GENERATE_SECRET 591
  251. # define SSL_F_TLS13_HKDF_EXPAND 561
  252. # define SSL_F_TLS13_RESTORE_HANDSHAKE_DIGEST_FOR_PHA 617
  253. # define SSL_F_TLS13_SAVE_HANDSHAKE_DIGEST_FOR_PHA 618
  254. # define SSL_F_TLS13_SETUP_KEY_BLOCK 441
  255. # define SSL_F_TLS1_CHANGE_CIPHER_STATE 209
  256. # define SSL_F_TLS1_CHECK_DUPLICATE_EXTENSIONS 341
  257. # define SSL_F_TLS1_ENC 401
  258. # define SSL_F_TLS1_EXPORT_KEYING_MATERIAL 314
  259. # define SSL_F_TLS1_GET_CURVELIST 338
  260. # define SSL_F_TLS1_PRF 284
  261. # define SSL_F_TLS1_SETUP_KEY_BLOCK 211
  262. # define SSL_F_TLS1_SET_SERVER_SIGALGS 335
  263. # define SSL_F_TLS_CHOOSE_SIGALG 513
  264. # define SSL_F_TLS_CLIENT_KEY_EXCHANGE_POST_WORK 354
  265. # define SSL_F_TLS_COLLECT_EXTENSIONS 435
  266. # define SSL_F_TLS_CONSTRUCT_CERTIFICATE_AUTHORITIES 542
  267. # define SSL_F_TLS_CONSTRUCT_CERTIFICATE_REQUEST 372
  268. # define SSL_F_TLS_CONSTRUCT_CERT_STATUS 429
  269. # define SSL_F_TLS_CONSTRUCT_CERT_STATUS_BODY 494
  270. # define SSL_F_TLS_CONSTRUCT_CERT_VERIFY 496
  271. # define SSL_F_TLS_CONSTRUCT_CHANGE_CIPHER_SPEC 427
  272. # define SSL_F_TLS_CONSTRUCT_CKE_DHE 404
  273. # define SSL_F_TLS_CONSTRUCT_CKE_ECDHE 405
  274. # define SSL_F_TLS_CONSTRUCT_CKE_GOST 406
  275. # define SSL_F_TLS_CONSTRUCT_CKE_PSK_PREAMBLE 407
  276. # define SSL_F_TLS_CONSTRUCT_CKE_RSA 409
  277. # define SSL_F_TLS_CONSTRUCT_CKE_SRP 410
  278. # define SSL_F_TLS_CONSTRUCT_CLIENT_CERTIFICATE 484
  279. # define SSL_F_TLS_CONSTRUCT_CLIENT_HELLO 487
  280. # define SSL_F_TLS_CONSTRUCT_CLIENT_KEY_EXCHANGE 488
  281. # define SSL_F_TLS_CONSTRUCT_CLIENT_VERIFY 489
  282. # define SSL_F_TLS_CONSTRUCT_CTOS_ALPN 466
  283. # define SSL_F_TLS_CONSTRUCT_CTOS_CERTIFICATE 355
  284. # define SSL_F_TLS_CONSTRUCT_CTOS_COOKIE 535
  285. # define SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA 530
  286. # define SSL_F_TLS_CONSTRUCT_CTOS_EC_PT_FORMATS 467
  287. # define SSL_F_TLS_CONSTRUCT_CTOS_EMS 468
  288. # define SSL_F_TLS_CONSTRUCT_CTOS_ETM 469
  289. # define SSL_F_TLS_CONSTRUCT_CTOS_HELLO 356
  290. # define SSL_F_TLS_CONSTRUCT_CTOS_KEY_EXCHANGE 357
  291. # define SSL_F_TLS_CONSTRUCT_CTOS_KEY_SHARE 470
  292. # define SSL_F_TLS_CONSTRUCT_CTOS_MAXFRAGMENTLEN 549
  293. # define SSL_F_TLS_CONSTRUCT_CTOS_NPN 471
  294. # define SSL_F_TLS_CONSTRUCT_CTOS_PADDING 472
  295. # define SSL_F_TLS_CONSTRUCT_CTOS_POST_HANDSHAKE_AUTH 619
  296. # define SSL_F_TLS_CONSTRUCT_CTOS_PSK 501
  297. # define SSL_F_TLS_CONSTRUCT_CTOS_PSK_KEX_MODES 509
  298. # define SSL_F_TLS_CONSTRUCT_CTOS_RENEGOTIATE 473
  299. # define SSL_F_TLS_CONSTRUCT_CTOS_SCT 474
  300. # define SSL_F_TLS_CONSTRUCT_CTOS_SERVER_NAME 475
  301. # define SSL_F_TLS_CONSTRUCT_CTOS_SESSION_TICKET 476
  302. # define SSL_F_TLS_CONSTRUCT_CTOS_SIG_ALGS 477
  303. # define SSL_F_TLS_CONSTRUCT_CTOS_SRP 478
  304. # define SSL_F_TLS_CONSTRUCT_CTOS_STATUS_REQUEST 479
  305. # define SSL_F_TLS_CONSTRUCT_CTOS_SUPPORTED_GROUPS 480
  306. # define SSL_F_TLS_CONSTRUCT_CTOS_SUPPORTED_VERSIONS 481
  307. # define SSL_F_TLS_CONSTRUCT_CTOS_USE_SRTP 482
  308. # define SSL_F_TLS_CONSTRUCT_CTOS_VERIFY 358
  309. # define SSL_F_TLS_CONSTRUCT_ENCRYPTED_EXTENSIONS 443
  310. # define SSL_F_TLS_CONSTRUCT_END_OF_EARLY_DATA 536
  311. # define SSL_F_TLS_CONSTRUCT_EXTENSIONS 447
  312. # define SSL_F_TLS_CONSTRUCT_FINISHED 359
  313. # define SSL_F_TLS_CONSTRUCT_HELLO_REQUEST 373
  314. # define SSL_F_TLS_CONSTRUCT_HELLO_RETRY_REQUEST 510
  315. # define SSL_F_TLS_CONSTRUCT_KEY_UPDATE 517
  316. # define SSL_F_TLS_CONSTRUCT_NEW_SESSION_TICKET 428
  317. # define SSL_F_TLS_CONSTRUCT_NEXT_PROTO 426
  318. # define SSL_F_TLS_CONSTRUCT_SERVER_CERTIFICATE 490
  319. # define SSL_F_TLS_CONSTRUCT_SERVER_HELLO 491
  320. # define SSL_F_TLS_CONSTRUCT_SERVER_KEY_EXCHANGE 492
  321. # define SSL_F_TLS_CONSTRUCT_STOC_ALPN 451
  322. # define SSL_F_TLS_CONSTRUCT_STOC_CERTIFICATE 374
  323. # define SSL_F_TLS_CONSTRUCT_STOC_COOKIE 613
  324. # define SSL_F_TLS_CONSTRUCT_STOC_CRYPTOPRO_BUG 452
  325. # define SSL_F_TLS_CONSTRUCT_STOC_DONE 375
  326. # define SSL_F_TLS_CONSTRUCT_STOC_EARLY_DATA 531
  327. # define SSL_F_TLS_CONSTRUCT_STOC_EARLY_DATA_INFO 525
  328. # define SSL_F_TLS_CONSTRUCT_STOC_EC_PT_FORMATS 453
  329. # define SSL_F_TLS_CONSTRUCT_STOC_EMS 454
  330. # define SSL_F_TLS_CONSTRUCT_STOC_ETM 455
  331. # define SSL_F_TLS_CONSTRUCT_STOC_HELLO 376
  332. # define SSL_F_TLS_CONSTRUCT_STOC_KEY_EXCHANGE 377
  333. # define SSL_F_TLS_CONSTRUCT_STOC_KEY_SHARE 456
  334. # define SSL_F_TLS_CONSTRUCT_STOC_MAXFRAGMENTLEN 548
  335. # define SSL_F_TLS_CONSTRUCT_STOC_NEXT_PROTO_NEG 457
  336. # define SSL_F_TLS_CONSTRUCT_STOC_PSK 504
  337. # define SSL_F_TLS_CONSTRUCT_STOC_RENEGOTIATE 458
  338. # define SSL_F_TLS_CONSTRUCT_STOC_SERVER_NAME 459
  339. # define SSL_F_TLS_CONSTRUCT_STOC_SESSION_TICKET 460
  340. # define SSL_F_TLS_CONSTRUCT_STOC_STATUS_REQUEST 461
  341. # define SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_GROUPS 544
  342. # define SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_VERSIONS 611
  343. # define SSL_F_TLS_CONSTRUCT_STOC_USE_SRTP 462
  344. # define SSL_F_TLS_EARLY_POST_PROCESS_CLIENT_HELLO 521
  345. # define SSL_F_TLS_FINISH_HANDSHAKE 597
  346. # define SSL_F_TLS_GET_MESSAGE_BODY 351
  347. # define SSL_F_TLS_GET_MESSAGE_HEADER 387
  348. # define SSL_F_TLS_HANDLE_ALPN 562
  349. # define SSL_F_TLS_HANDLE_STATUS_REQUEST 563
  350. # define SSL_F_TLS_PARSE_CERTIFICATE_AUTHORITIES 566
  351. # define SSL_F_TLS_PARSE_CLIENTHELLO_TLSEXT 449
  352. # define SSL_F_TLS_PARSE_CTOS_ALPN 567
  353. # define SSL_F_TLS_PARSE_CTOS_COOKIE 614
  354. # define SSL_F_TLS_PARSE_CTOS_EARLY_DATA 568
  355. # define SSL_F_TLS_PARSE_CTOS_EC_PT_FORMATS 569
  356. # define SSL_F_TLS_PARSE_CTOS_EMS 570
  357. # define SSL_F_TLS_PARSE_CTOS_KEY_SHARE 463
  358. # define SSL_F_TLS_PARSE_CTOS_MAXFRAGMENTLEN 571
  359. # define SSL_F_TLS_PARSE_CTOS_POST_HANDSHAKE_AUTH 620
  360. # define SSL_F_TLS_PARSE_CTOS_PSK 505
  361. # define SSL_F_TLS_PARSE_CTOS_PSK_KEX_MODES 572
  362. # define SSL_F_TLS_PARSE_CTOS_RENEGOTIATE 464
  363. # define SSL_F_TLS_PARSE_CTOS_SERVER_NAME 573
  364. # define SSL_F_TLS_PARSE_CTOS_SESSION_TICKET 574
  365. # define SSL_F_TLS_PARSE_CTOS_SIG_ALGS 575
  366. # define SSL_F_TLS_PARSE_CTOS_SIG_ALGS_CERT 615
  367. # define SSL_F_TLS_PARSE_CTOS_SRP 576
  368. # define SSL_F_TLS_PARSE_CTOS_STATUS_REQUEST 577
  369. # define SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS 578
  370. # define SSL_F_TLS_PARSE_CTOS_USE_SRTP 465
  371. # define SSL_F_TLS_PARSE_STOC_ALPN 579
  372. # define SSL_F_TLS_PARSE_STOC_COOKIE 534
  373. # define SSL_F_TLS_PARSE_STOC_EARLY_DATA 538
  374. # define SSL_F_TLS_PARSE_STOC_EARLY_DATA_INFO 528
  375. # define SSL_F_TLS_PARSE_STOC_EC_PT_FORMATS 580
  376. # define SSL_F_TLS_PARSE_STOC_KEY_SHARE 445
  377. # define SSL_F_TLS_PARSE_STOC_MAXFRAGMENTLEN 581
  378. # define SSL_F_TLS_PARSE_STOC_NPN 582
  379. # define SSL_F_TLS_PARSE_STOC_PSK 502
  380. # define SSL_F_TLS_PARSE_STOC_RENEGOTIATE 448
  381. # define SSL_F_TLS_PARSE_STOC_SCT 564
  382. # define SSL_F_TLS_PARSE_STOC_SERVER_NAME 583
  383. # define SSL_F_TLS_PARSE_STOC_SESSION_TICKET 584
  384. # define SSL_F_TLS_PARSE_STOC_STATUS_REQUEST 585
  385. # define SSL_F_TLS_PARSE_STOC_SUPPORTED_VERSIONS 612
  386. # define SSL_F_TLS_PARSE_STOC_USE_SRTP 446
  387. # define SSL_F_TLS_POST_PROCESS_CLIENT_HELLO 378
  388. # define SSL_F_TLS_POST_PROCESS_CLIENT_KEY_EXCHANGE 384
  389. # define SSL_F_TLS_PREPARE_CLIENT_CERTIFICATE 360
  390. # define SSL_F_TLS_PROCESS_AS_HELLO_RETRY_REQUEST 610
  391. # define SSL_F_TLS_PROCESS_CERTIFICATE_REQUEST 361
  392. # define SSL_F_TLS_PROCESS_CERT_STATUS 362
  393. # define SSL_F_TLS_PROCESS_CERT_STATUS_BODY 495
  394. # define SSL_F_TLS_PROCESS_CERT_VERIFY 379
  395. # define SSL_F_TLS_PROCESS_CHANGE_CIPHER_SPEC 363
  396. # define SSL_F_TLS_PROCESS_CKE_DHE 411
  397. # define SSL_F_TLS_PROCESS_CKE_ECDHE 412
  398. # define SSL_F_TLS_PROCESS_CKE_GOST 413
  399. # define SSL_F_TLS_PROCESS_CKE_PSK_PREAMBLE 414
  400. # define SSL_F_TLS_PROCESS_CKE_RSA 415
  401. # define SSL_F_TLS_PROCESS_CKE_SRP 416
  402. # define SSL_F_TLS_PROCESS_CLIENT_CERTIFICATE 380
  403. # define SSL_F_TLS_PROCESS_CLIENT_HELLO 381
  404. # define SSL_F_TLS_PROCESS_CLIENT_KEY_EXCHANGE 382
  405. # define SSL_F_TLS_PROCESS_ENCRYPTED_EXTENSIONS 444
  406. # define SSL_F_TLS_PROCESS_END_OF_EARLY_DATA 537
  407. # define SSL_F_TLS_PROCESS_FINISHED 364
  408. # define SSL_F_TLS_PROCESS_HELLO_REQ 507
  409. # define SSL_F_TLS_PROCESS_HELLO_RETRY_REQUEST 511
  410. # define SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT 442
  411. # define SSL_F_TLS_PROCESS_KEY_EXCHANGE 365
  412. # define SSL_F_TLS_PROCESS_KEY_UPDATE 518
  413. # define SSL_F_TLS_PROCESS_NEW_SESSION_TICKET 366
  414. # define SSL_F_TLS_PROCESS_NEXT_PROTO 383
  415. # define SSL_F_TLS_PROCESS_SERVER_CERTIFICATE 367
  416. # define SSL_F_TLS_PROCESS_SERVER_DONE 368
  417. # define SSL_F_TLS_PROCESS_SERVER_HELLO 369
  418. # define SSL_F_TLS_PROCESS_SKE_DHE 419
  419. # define SSL_F_TLS_PROCESS_SKE_ECDHE 420
  420. # define SSL_F_TLS_PROCESS_SKE_PSK_PREAMBLE 421
  421. # define SSL_F_TLS_PROCESS_SKE_SRP 422
  422. # define SSL_F_TLS_PSK_DO_BINDER 506
  423. # define SSL_F_TLS_SCAN_CLIENTHELLO_TLSEXT 450
  424. # define SSL_F_TLS_SETUP_HANDSHAKE 508
  425. # define SSL_F_USE_CERTIFICATE_CHAIN_FILE 220
  426. # define SSL_F_WRITE_STATE_MACHINE 586
  427. /*
  428. * SSL reason codes.
  429. */
  430. # define SSL_R_APP_DATA_IN_HANDSHAKE 100
  431. # define SSL_R_ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT 272
  432. # define SSL_R_AT_LEAST_TLS_1_0_NEEDED_IN_FIPS_MODE 143
  433. # define SSL_R_AT_LEAST_TLS_1_2_NEEDED_IN_SUITEB_MODE 158
  434. # define SSL_R_BAD_CHANGE_CIPHER_SPEC 103
  435. # define SSL_R_BAD_CIPHER 186
  436. # define SSL_R_BAD_DATA 390
  437. # define SSL_R_BAD_DATA_RETURNED_BY_CALLBACK 106
  438. # define SSL_R_BAD_DECOMPRESSION 107
  439. # define SSL_R_BAD_DH_VALUE 102
  440. # define SSL_R_BAD_DIGEST_LENGTH 111
  441. # define SSL_R_BAD_EARLY_DATA 233
  442. # define SSL_R_BAD_ECC_CERT 304
  443. # define SSL_R_BAD_ECPOINT 306
  444. # define SSL_R_BAD_EXTENSION 110
  445. # define SSL_R_BAD_HANDSHAKE_LENGTH 332
  446. # define SSL_R_BAD_HANDSHAKE_STATE 236
  447. # define SSL_R_BAD_HELLO_REQUEST 105
  448. # define SSL_R_BAD_HRR_VERSION 263
  449. # define SSL_R_BAD_KEY_SHARE 108
  450. # define SSL_R_BAD_KEY_UPDATE 122
  451. # define SSL_R_BAD_LENGTH 271
  452. # define SSL_R_BAD_PACKET 240
  453. # define SSL_R_BAD_PACKET_LENGTH 115
  454. # define SSL_R_BAD_PROTOCOL_VERSION_NUMBER 116
  455. # define SSL_R_BAD_PSK 219
  456. # define SSL_R_BAD_PSK_IDENTITY 114
  457. # define SSL_R_BAD_RECORD_TYPE 443
  458. # define SSL_R_BAD_RSA_ENCRYPT 119
  459. # define SSL_R_BAD_SIGNATURE 123
  460. # define SSL_R_BAD_SRP_A_LENGTH 347
  461. # define SSL_R_BAD_SRP_PARAMETERS 371
  462. # define SSL_R_BAD_SRTP_MKI_VALUE 352
  463. # define SSL_R_BAD_SRTP_PROTECTION_PROFILE_LIST 353
  464. # define SSL_R_BAD_SSL_FILETYPE 124
  465. # define SSL_R_BAD_VALUE 384
  466. # define SSL_R_BAD_WRITE_RETRY 127
  467. # define SSL_R_BINDER_DOES_NOT_VERIFY 253
  468. # define SSL_R_BIO_NOT_SET 128
  469. # define SSL_R_BLOCK_CIPHER_PAD_IS_WRONG 129
  470. # define SSL_R_BN_LIB 130
  471. # define SSL_R_CALLBACK_FAILED 234
  472. # define SSL_R_CANNOT_CHANGE_CIPHER 109
  473. # define SSL_R_CA_DN_LENGTH_MISMATCH 131
  474. # define SSL_R_CA_KEY_TOO_SMALL 397
  475. # define SSL_R_CA_MD_TOO_WEAK 398
  476. # define SSL_R_CCS_RECEIVED_EARLY 133
  477. # define SSL_R_CERTIFICATE_VERIFY_FAILED 134
  478. # define SSL_R_CERT_CB_ERROR 377
  479. # define SSL_R_CERT_LENGTH_MISMATCH 135
  480. # define SSL_R_CIPHERSUITE_DIGEST_HAS_CHANGED 218
  481. # define SSL_R_CIPHER_CODE_WRONG_LENGTH 137
  482. # define SSL_R_CIPHER_OR_HASH_UNAVAILABLE 138
  483. # define SSL_R_CLIENTHELLO_TLSEXT 226
  484. # define SSL_R_COMPRESSED_LENGTH_TOO_LONG 140
  485. # define SSL_R_COMPRESSION_DISABLED 343
  486. # define SSL_R_COMPRESSION_FAILURE 141
  487. # define SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE 307
  488. # define SSL_R_COMPRESSION_LIBRARY_ERROR 142
  489. # define SSL_R_CONNECTION_TYPE_NOT_SET 144
  490. # define SSL_R_CONTEXT_NOT_DANE_ENABLED 167
  491. # define SSL_R_COOKIE_GEN_CALLBACK_FAILURE 400
  492. # define SSL_R_COOKIE_MISMATCH 308
  493. # define SSL_R_CUSTOM_EXT_HANDLER_ALREADY_INSTALLED 206
  494. # define SSL_R_DANE_ALREADY_ENABLED 172
  495. # define SSL_R_DANE_CANNOT_OVERRIDE_MTYPE_FULL 173
  496. # define SSL_R_DANE_NOT_ENABLED 175
  497. # define SSL_R_DANE_TLSA_BAD_CERTIFICATE 180
  498. # define SSL_R_DANE_TLSA_BAD_CERTIFICATE_USAGE 184
  499. # define SSL_R_DANE_TLSA_BAD_DATA_LENGTH 189
  500. # define SSL_R_DANE_TLSA_BAD_DIGEST_LENGTH 192
  501. # define SSL_R_DANE_TLSA_BAD_MATCHING_TYPE 200
  502. # define SSL_R_DANE_TLSA_BAD_PUBLIC_KEY 201
  503. # define SSL_R_DANE_TLSA_BAD_SELECTOR 202
  504. # define SSL_R_DANE_TLSA_NULL_DATA 203
  505. # define SSL_R_DATA_BETWEEN_CCS_AND_FINISHED 145
  506. # define SSL_R_DATA_LENGTH_TOO_LONG 146
  507. # define SSL_R_DECRYPTION_FAILED 147
  508. # define SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC 281
  509. # define SSL_R_DH_KEY_TOO_SMALL 394
  510. # define SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG 148
  511. # define SSL_R_DIGEST_CHECK_FAILED 149
  512. # define SSL_R_DTLS_MESSAGE_TOO_BIG 334
  513. # define SSL_R_DUPLICATE_COMPRESSION_ID 309
  514. # define SSL_R_ECC_CERT_NOT_FOR_SIGNING 318
  515. # define SSL_R_ECDH_REQUIRED_FOR_SUITEB_MODE 374
  516. # define SSL_R_EE_KEY_TOO_SMALL 399
  517. # define SSL_R_EMPTY_SRTP_PROTECTION_PROFILE_LIST 354
  518. # define SSL_R_ENCRYPTED_LENGTH_TOO_LONG 150
  519. # define SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST 151
  520. # define SSL_R_ERROR_SETTING_TLSA_BASE_DOMAIN 204
  521. # define SSL_R_EXCEEDS_MAX_FRAGMENT_SIZE 194
  522. # define SSL_R_EXCESSIVE_MESSAGE_SIZE 152
  523. # define SSL_R_EXTENSION_NOT_RECEIVED 279
  524. # define SSL_R_EXTRA_DATA_IN_MESSAGE 153
  525. # define SSL_R_EXT_LENGTH_MISMATCH 163
  526. # define SSL_R_FAILED_TO_INIT_ASYNC 405
  527. # define SSL_R_FRAGMENTED_CLIENT_HELLO 401
  528. # define SSL_R_GOT_A_FIN_BEFORE_A_CCS 154
  529. # define SSL_R_HTTPS_PROXY_REQUEST 155
  530. # define SSL_R_HTTP_REQUEST 156
  531. # define SSL_R_ILLEGAL_POINT_COMPRESSION 162
  532. # define SSL_R_ILLEGAL_SUITEB_DIGEST 380
  533. # define SSL_R_INAPPROPRIATE_FALLBACK 373
  534. # define SSL_R_INCONSISTENT_COMPRESSION 340
  535. # define SSL_R_INCONSISTENT_EARLY_DATA_ALPN 222
  536. # define SSL_R_INCONSISTENT_EARLY_DATA_SNI 231
  537. # define SSL_R_INCONSISTENT_EXTMS 104
  538. # define SSL_R_INSUFFICIENT_SECURITY 241
  539. # define SSL_R_INVALID_ALERT 205
  540. # define SSL_R_INVALID_CCS_MESSAGE 260
  541. # define SSL_R_INVALID_CERTIFICATE_OR_ALG 238
  542. # define SSL_R_INVALID_COMMAND 280
  543. # define SSL_R_INVALID_COMPRESSION_ALGORITHM 341
  544. # define SSL_R_INVALID_CONFIG 283
  545. # define SSL_R_INVALID_CONFIGURATION_NAME 113
  546. # define SSL_R_INVALID_CONTEXT 282
  547. # define SSL_R_INVALID_CT_VALIDATION_TYPE 212
  548. # define SSL_R_INVALID_KEY_UPDATE_TYPE 120
  549. # define SSL_R_INVALID_MAX_EARLY_DATA 174
  550. # define SSL_R_INVALID_NULL_CMD_NAME 385
  551. # define SSL_R_INVALID_SEQUENCE_NUMBER 402
  552. # define SSL_R_INVALID_SERVERINFO_DATA 388
  553. # define SSL_R_INVALID_SESSION_ID 999
  554. # define SSL_R_INVALID_SRP_USERNAME 357
  555. # define SSL_R_INVALID_STATUS_RESPONSE 328
  556. # define SSL_R_INVALID_TICKET_KEYS_LENGTH 325
  557. # define SSL_R_LENGTH_MISMATCH 159
  558. # define SSL_R_LENGTH_TOO_LONG 404
  559. # define SSL_R_LENGTH_TOO_SHORT 160
  560. # define SSL_R_LIBRARY_BUG 274
  561. # define SSL_R_LIBRARY_HAS_NO_CIPHERS 161
  562. # define SSL_R_MISSING_DSA_SIGNING_CERT 165
  563. # define SSL_R_MISSING_ECDSA_SIGNING_CERT 381
  564. # define SSL_R_MISSING_FATAL 256
  565. # define SSL_R_MISSING_RSA_CERTIFICATE 168
  566. # define SSL_R_MISSING_RSA_ENCRYPTING_CERT 169
  567. # define SSL_R_MISSING_RSA_SIGNING_CERT 170
  568. # define SSL_R_MISSING_SIGALGS_EXTENSION 112
  569. # define SSL_R_MISSING_SIGNING_CERT 221
  570. # define SSL_R_MISSING_SRP_PARAM 358
  571. # define SSL_R_MISSING_SUPPORTED_GROUPS_EXTENSION 209
  572. # define SSL_R_MISSING_TMP_DH_KEY 171
  573. # define SSL_R_MISSING_TMP_ECDH_KEY 311
  574. # define SSL_R_NOT_ON_RECORD_BOUNDARY 182
  575. # define SSL_R_NOT_SERVER 284
  576. # define SSL_R_NO_APPLICATION_PROTOCOL 235
  577. # define SSL_R_NO_CERTIFICATES_RETURNED 176
  578. # define SSL_R_NO_CERTIFICATE_ASSIGNED 177
  579. # define SSL_R_NO_CERTIFICATE_SET 179
  580. # define SSL_R_NO_CHANGE_FOLLOWING_HRR 214
  581. # define SSL_R_NO_CIPHERS_AVAILABLE 181
  582. # define SSL_R_NO_CIPHERS_SPECIFIED 183
  583. # define SSL_R_NO_CIPHER_MATCH 185
  584. # define SSL_R_NO_CLIENT_CERT_METHOD 331
  585. # define SSL_R_NO_COMPRESSION_SPECIFIED 187
  586. # define SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER 330
  587. # define SSL_R_NO_METHOD_SPECIFIED 188
  588. # define SSL_R_NO_PEM_EXTENSIONS 389
  589. # define SSL_R_NO_PRIVATE_KEY_ASSIGNED 190
  590. # define SSL_R_NO_PROTOCOLS_AVAILABLE 191
  591. # define SSL_R_NO_RENEGOTIATION 339
  592. # define SSL_R_NO_REQUIRED_DIGEST 324
  593. # define SSL_R_NO_SHARED_CIPHER 193
  594. # define SSL_R_NO_SHARED_GROUPS 410
  595. # define SSL_R_NO_SHARED_SIGNATURE_ALGORITHMS 376
  596. # define SSL_R_NO_SRTP_PROFILES 359
  597. # define SSL_R_NO_SUITABLE_KEY_SHARE 101
  598. # define SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM 118
  599. # define SSL_R_NO_VALID_SCTS 216
  600. # define SSL_R_NO_VERIFY_COOKIE_CALLBACK 403
  601. # define SSL_R_NULL_SSL_CTX 195
  602. # define SSL_R_NULL_SSL_METHOD_PASSED 196
  603. # define SSL_R_OLD_SESSION_CIPHER_NOT_RETURNED 197
  604. # define SSL_R_OLD_SESSION_COMPRESSION_ALGORITHM_NOT_RETURNED 344
  605. # define SSL_R_OVERFLOW_ERROR 237
  606. # define SSL_R_PACKET_LENGTH_TOO_LONG 198
  607. # define SSL_R_PARSE_TLSEXT 227
  608. # define SSL_R_PATH_TOO_LONG 270
  609. # define SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE 199
  610. # define SSL_R_PEM_NAME_BAD_PREFIX 391
  611. # define SSL_R_PEM_NAME_TOO_SHORT 392
  612. # define SSL_R_PIPELINE_FAILURE 406
  613. # define SSL_R_POST_HANDSHAKE_AUTH_ENCODING_ERR 278
  614. # define SSL_R_PROTOCOL_IS_SHUTDOWN 207
  615. # define SSL_R_PSK_IDENTITY_NOT_FOUND 223
  616. # define SSL_R_PSK_NO_CLIENT_CB 224
  617. # define SSL_R_PSK_NO_SERVER_CB 225
  618. # define SSL_R_READ_BIO_NOT_SET 211
  619. # define SSL_R_READ_TIMEOUT_EXPIRED 312
  620. # define SSL_R_RECORD_LENGTH_MISMATCH 213
  621. # define SSL_R_RECORD_TOO_SMALL 298
  622. # define SSL_R_RENEGOTIATE_EXT_TOO_LONG 335
  623. # define SSL_R_RENEGOTIATION_ENCODING_ERR 336
  624. # define SSL_R_RENEGOTIATION_MISMATCH 337
  625. # define SSL_R_REQUEST_PENDING 285
  626. # define SSL_R_REQUEST_SENT 286
  627. # define SSL_R_REQUIRED_CIPHER_MISSING 215
  628. # define SSL_R_REQUIRED_COMPRESSION_ALGORITHM_MISSING 342
  629. # define SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING 345
  630. # define SSL_R_SCT_VERIFICATION_FAILED 208
  631. # define SSL_R_SERVERHELLO_TLSEXT 275
  632. # define SSL_R_SESSION_ID_CONTEXT_UNINITIALIZED 277
  633. # define SSL_R_SHUTDOWN_WHILE_IN_INIT 407
  634. # define SSL_R_SIGNATURE_ALGORITHMS_ERROR 360
  635. # define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE 220
  636. # define SSL_R_SRP_A_CALC 361
  637. # define SSL_R_SRTP_COULD_NOT_ALLOCATE_PROFILES 362
  638. # define SSL_R_SRTP_PROTECTION_PROFILE_LIST_TOO_LONG 363
  639. # define SSL_R_SRTP_UNKNOWN_PROTECTION_PROFILE 364
  640. # define SSL_R_SSL3_EXT_INVALID_MAX_FRAGMENT_LENGTH 232
  641. # define SSL_R_SSL3_EXT_INVALID_SERVERNAME 319
  642. # define SSL_R_SSL3_EXT_INVALID_SERVERNAME_TYPE 320
  643. # define SSL_R_SSL3_SESSION_ID_TOO_LONG 300
  644. # define SSL_R_SSLV3_ALERT_BAD_CERTIFICATE 1042
  645. # define SSL_R_SSLV3_ALERT_BAD_RECORD_MAC 1020
  646. # define SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED 1045
  647. # define SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED 1044
  648. # define SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN 1046
  649. # define SSL_R_SSLV3_ALERT_DECOMPRESSION_FAILURE 1030
  650. # define SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE 1040
  651. # define SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER 1047
  652. # define SSL_R_SSLV3_ALERT_NO_CERTIFICATE 1041
  653. # define SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE 1010
  654. # define SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE 1043
  655. # define SSL_R_SSL_COMMAND_SECTION_EMPTY 117
  656. # define SSL_R_SSL_COMMAND_SECTION_NOT_FOUND 125
  657. # define SSL_R_SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION 228
  658. # define SSL_R_SSL_HANDSHAKE_FAILURE 229
  659. # define SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS 230
  660. # define SSL_R_SSL_NEGATIVE_LENGTH 372
  661. # define SSL_R_SSL_SECTION_EMPTY 126
  662. # define SSL_R_SSL_SECTION_NOT_FOUND 136
  663. # define SSL_R_SSL_SESSION_ID_CALLBACK_FAILED 301
  664. # define SSL_R_SSL_SESSION_ID_CONFLICT 302
  665. # define SSL_R_SSL_SESSION_ID_CONTEXT_TOO_LONG 273
  666. # define SSL_R_SSL_SESSION_ID_HAS_BAD_LENGTH 303
  667. # define SSL_R_SSL_SESSION_ID_TOO_LONG 408
  668. # define SSL_R_SSL_SESSION_VERSION_MISMATCH 210
  669. # define SSL_R_STILL_IN_INIT 121
  670. # define SSL_R_TLSV1_ALERT_ACCESS_DENIED 1049
  671. # define SSL_R_TLSV1_ALERT_DECODE_ERROR 1050
  672. # define SSL_R_TLSV1_ALERT_DECRYPTION_FAILED 1021
  673. # define SSL_R_TLSV1_ALERT_DECRYPT_ERROR 1051
  674. # define SSL_R_TLSV1_ALERT_EXPORT_RESTRICTION 1060
  675. # define SSL_R_TLSV1_ALERT_INAPPROPRIATE_FALLBACK 1086
  676. # define SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY 1071
  677. # define SSL_R_TLSV1_ALERT_INTERNAL_ERROR 1080
  678. # define SSL_R_TLSV1_ALERT_NO_RENEGOTIATION 1100
  679. # define SSL_R_TLSV1_ALERT_PROTOCOL_VERSION 1070
  680. # define SSL_R_TLSV1_ALERT_RECORD_OVERFLOW 1022
  681. # define SSL_R_TLSV1_ALERT_UNKNOWN_CA 1048
  682. # define SSL_R_TLSV1_ALERT_USER_CANCELLED 1090
  683. # define SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE 1114
  684. # define SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE 1113
  685. # define SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE 1111
  686. # define SSL_R_TLSV1_UNRECOGNIZED_NAME 1112
  687. # define SSL_R_TLSV1_UNSUPPORTED_EXTENSION 1110
  688. # define SSL_R_TLS_HEARTBEAT_PEER_DOESNT_ACCEPT 365
  689. # define SSL_R_TLS_HEARTBEAT_PENDING 366
  690. # define SSL_R_TLS_ILLEGAL_EXPORTER_LABEL 367
  691. # define SSL_R_TLS_INVALID_ECPOINTFORMAT_LIST 157
  692. # define SSL_R_TOO_MANY_KEY_UPDATES 132
  693. # define SSL_R_TOO_MANY_WARN_ALERTS 409
  694. # define SSL_R_TOO_MUCH_EARLY_DATA 164
  695. # define SSL_R_UNABLE_TO_FIND_ECDH_PARAMETERS 314
  696. # define SSL_R_UNABLE_TO_FIND_PUBLIC_KEY_PARAMETERS 239
  697. # define SSL_R_UNABLE_TO_LOAD_SSL3_MD5_ROUTINES 242
  698. # define SSL_R_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES 243
  699. # define SSL_R_UNEXPECTED_CCS_MESSAGE 262
  700. # define SSL_R_UNEXPECTED_END_OF_EARLY_DATA 178
  701. # define SSL_R_UNEXPECTED_MESSAGE 244
  702. # define SSL_R_UNEXPECTED_RECORD 245
  703. # define SSL_R_UNINITIALIZED 276
  704. # define SSL_R_UNKNOWN_ALERT_TYPE 246
  705. # define SSL_R_UNKNOWN_CERTIFICATE_TYPE 247
  706. # define SSL_R_UNKNOWN_CIPHER_RETURNED 248
  707. # define SSL_R_UNKNOWN_CIPHER_TYPE 249
  708. # define SSL_R_UNKNOWN_CMD_NAME 386
  709. # define SSL_R_UNKNOWN_COMMAND 139
  710. # define SSL_R_UNKNOWN_DIGEST 368
  711. # define SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE 250
  712. # define SSL_R_UNKNOWN_PKEY_TYPE 251
  713. # define SSL_R_UNKNOWN_PROTOCOL 252
  714. # define SSL_R_UNKNOWN_SSL_VERSION 254
  715. # define SSL_R_UNKNOWN_STATE 255
  716. # define SSL_R_UNSAFE_LEGACY_RENEGOTIATION_DISABLED 338
  717. # define SSL_R_UNSOLICITED_EXTENSION 217
  718. # define SSL_R_UNSUPPORTED_COMPRESSION_ALGORITHM 257
  719. # define SSL_R_UNSUPPORTED_ELLIPTIC_CURVE 315
  720. # define SSL_R_UNSUPPORTED_PROTOCOL 258
  721. # define SSL_R_UNSUPPORTED_SSL_VERSION 259
  722. # define SSL_R_UNSUPPORTED_STATUS_TYPE 329
  723. # define SSL_R_USE_SRTP_NOT_NEGOTIATED 369
  724. # define SSL_R_VERSION_TOO_HIGH 166
  725. # define SSL_R_VERSION_TOO_LOW 396
  726. # define SSL_R_WRONG_CERTIFICATE_TYPE 383
  727. # define SSL_R_WRONG_CIPHER_RETURNED 261
  728. # define SSL_R_WRONG_CURVE 378
  729. # define SSL_R_WRONG_SIGNATURE_LENGTH 264
  730. # define SSL_R_WRONG_SIGNATURE_SIZE 265
  731. # define SSL_R_WRONG_SIGNATURE_TYPE 370
  732. # define SSL_R_WRONG_SSL_VERSION 266
  733. # define SSL_R_WRONG_VERSION_NUMBER 267
  734. # define SSL_R_X509_LIB 268
  735. # define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269
  736. #endif