Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

774 rindas
46 KiB

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