1/*
2 * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10/*
11 * This header file preserves symbols from pre-3.0 OpenSSL.
12 * It should never be included directly, as it's already included
13 * by the public sslerr.h headers, and since it will go away some
14 * time in the future.
15 */
16
17#ifndef OPENSSL_SSLERR_LEGACY_H
18# define OPENSSL_SSLERR_LEGACY_H
19# pragma once
20
21# include <openssl/macros.h>
22# include <openssl/symhacks.h>
23
24# ifdef __cplusplus
25extern "C" {
26# endif
27
28# ifndef OPENSSL_NO_DEPRECATED_3_0
29OSSL_DEPRECATEDIN_3_0 int ERR_load_SSL_strings(void);
30
31/* Collected _F_ macros from OpenSSL 1.1.1 */
32
33/*
34 * SSL function codes.
35 */
36# define SSL_F_ADD_CLIENT_KEY_SHARE_EXT 0
37# define SSL_F_ADD_KEY_SHARE 0
38# define SSL_F_BYTES_TO_CIPHER_LIST 0
39# define SSL_F_CHECK_SUITEB_CIPHER_LIST 0
40# define SSL_F_CIPHERSUITE_CB 0
41# define SSL_F_CONSTRUCT_CA_NAMES 0
42# define SSL_F_CONSTRUCT_KEY_EXCHANGE_TBS 0
43# define SSL_F_CONSTRUCT_STATEFUL_TICKET 0
44# define SSL_F_CONSTRUCT_STATELESS_TICKET 0
45# define SSL_F_CREATE_SYNTHETIC_MESSAGE_HASH 0
46# define SSL_F_CREATE_TICKET_PREQUEL 0
47# define SSL_F_CT_MOVE_SCTS 0
48# define SSL_F_CT_STRICT 0
49# define SSL_F_CUSTOM_EXT_ADD 0
50# define SSL_F_CUSTOM_EXT_PARSE 0
51# define SSL_F_D2I_SSL_SESSION 0
52# define SSL_F_DANE_CTX_ENABLE 0
53# define SSL_F_DANE_MTYPE_SET 0
54# define SSL_F_DANE_TLSA_ADD 0
55# define SSL_F_DERIVE_SECRET_KEY_AND_IV 0
56# define SSL_F_DO_DTLS1_WRITE 0
57# define SSL_F_DO_SSL3_WRITE 0
58# define SSL_F_DTLS1_BUFFER_RECORD 0
59# define SSL_F_DTLS1_CHECK_TIMEOUT_NUM 0
60# define SSL_F_DTLS1_HEARTBEAT 0
61# define SSL_F_DTLS1_HM_FRAGMENT_NEW 0
62# define SSL_F_DTLS1_PREPROCESS_FRAGMENT 0
63# define SSL_F_DTLS1_PROCESS_BUFFERED_RECORDS 0
64# define SSL_F_DTLS1_PROCESS_RECORD 0
65# define SSL_F_DTLS1_READ_BYTES 0
66# define SSL_F_DTLS1_READ_FAILED 0
67# define SSL_F_DTLS1_RETRANSMIT_MESSAGE 0
68# define SSL_F_DTLS1_WRITE_APP_DATA_BYTES 0
69# define SSL_F_DTLS1_WRITE_BYTES 0
70# define SSL_F_DTLSV1_LISTEN 0
71# define SSL_F_DTLS_CONSTRUCT_CHANGE_CIPHER_SPEC 0
72# define SSL_F_DTLS_CONSTRUCT_HELLO_VERIFY_REQUEST 0
73# define SSL_F_DTLS_GET_REASSEMBLED_MESSAGE 0
74# define SSL_F_DTLS_PROCESS_HELLO_VERIFY 0
75# define SSL_F_DTLS_RECORD_LAYER_NEW 0
76# define SSL_F_DTLS_WAIT_FOR_DRY 0
77# define SSL_F_EARLY_DATA_COUNT_OK 0
78# define SSL_F_FINAL_EARLY_DATA 0
79# define SSL_F_FINAL_EC_PT_FORMATS 0
80# define SSL_F_FINAL_EMS 0
81# define SSL_F_FINAL_KEY_SHARE 0
82# define SSL_F_FINAL_MAXFRAGMENTLEN 0
83# define SSL_F_FINAL_RENEGOTIATE 0
84# define SSL_F_FINAL_SERVER_NAME 0
85# define SSL_F_FINAL_SIG_ALGS 0
86# define SSL_F_GET_CERT_VERIFY_TBS_DATA 0
87# define SSL_F_NSS_KEYLOG_INT 0
88# define SSL_F_OPENSSL_INIT_SSL 0
89# define SSL_F_OSSL_STATEM_CLIENT13_READ_TRANSITION 0
90# define SSL_F_OSSL_STATEM_CLIENT13_WRITE_TRANSITION 0
91# define SSL_F_OSSL_STATEM_CLIENT_CONSTRUCT_MESSAGE 0
92# define SSL_F_OSSL_STATEM_CLIENT_POST_PROCESS_MESSAGE 0
93# define SSL_F_OSSL_STATEM_CLIENT_PROCESS_MESSAGE 0
94# define SSL_F_OSSL_STATEM_CLIENT_READ_TRANSITION 0
95# define SSL_F_OSSL_STATEM_CLIENT_WRITE_TRANSITION 0
96# define SSL_F_OSSL_STATEM_SERVER13_READ_TRANSITION 0
97# define SSL_F_OSSL_STATEM_SERVER13_WRITE_TRANSITION 0
98# define SSL_F_OSSL_STATEM_SERVER_CONSTRUCT_MESSAGE 0
99# define SSL_F_OSSL_STATEM_SERVER_POST_PROCESS_MESSAGE 0
100# define SSL_F_OSSL_STATEM_SERVER_POST_WORK 0
101# define SSL_F_OSSL_STATEM_SERVER_PRE_WORK 0
102# define SSL_F_OSSL_STATEM_SERVER_PROCESS_MESSAGE 0
103# define SSL_F_OSSL_STATEM_SERVER_READ_TRANSITION 0
104# define SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION 0
105# define SSL_F_PARSE_CA_NAMES 0
106# define SSL_F_PITEM_NEW 0
107# define SSL_F_PQUEUE_NEW 0
108# define SSL_F_PROCESS_KEY_SHARE_EXT 0
109# define SSL_F_READ_STATE_MACHINE 0
110# define SSL_F_SET_CLIENT_CIPHERSUITE 0
111# define SSL_F_SRP_GENERATE_CLIENT_MASTER_SECRET 0
112# define SSL_F_SRP_GENERATE_SERVER_MASTER_SECRET 0
113# define SSL_F_SRP_VERIFY_SERVER_PARAM 0
114# define SSL_F_SSL3_CHANGE_CIPHER_STATE 0
115# define SSL_F_SSL3_CHECK_CERT_AND_ALGORITHM 0
116# define SSL_F_SSL3_CTRL 0
117# define SSL_F_SSL3_CTX_CTRL 0
118# define SSL_F_SSL3_DIGEST_CACHED_RECORDS 0
119# define SSL_F_SSL3_DO_CHANGE_CIPHER_SPEC 0
120# define SSL_F_SSL3_ENC 0
121# define SSL_F_SSL3_FINAL_FINISH_MAC 0
122# define SSL_F_SSL3_FINISH_MAC 0
123# define SSL_F_SSL3_GENERATE_KEY_BLOCK 0
124# define SSL_F_SSL3_GENERATE_MASTER_SECRET 0
125# define SSL_F_SSL3_GET_RECORD 0
126# define SSL_F_SSL3_INIT_FINISHED_MAC 0
127# define SSL_F_SSL3_OUTPUT_CERT_CHAIN 0
128# define SSL_F_SSL3_READ_BYTES 0
129# define SSL_F_SSL3_READ_N 0
130# define SSL_F_SSL3_SETUP_KEY_BLOCK 0
131# define SSL_F_SSL3_SETUP_READ_BUFFER 0
132# define SSL_F_SSL3_SETUP_WRITE_BUFFER 0
133# define SSL_F_SSL3_WRITE_BYTES 0
134# define SSL_F_SSL3_WRITE_PENDING 0
135# define SSL_F_SSL_ADD_CERT_CHAIN 0
136# define SSL_F_SSL_ADD_CERT_TO_BUF 0
137# define SSL_F_SSL_ADD_CERT_TO_WPACKET 0
138# define SSL_F_SSL_ADD_CLIENTHELLO_RENEGOTIATE_EXT 0
139# define SSL_F_SSL_ADD_CLIENTHELLO_TLSEXT 0
140# define SSL_F_SSL_ADD_CLIENTHELLO_USE_SRTP_EXT 0
141# define SSL_F_SSL_ADD_DIR_CERT_SUBJECTS_TO_STACK 0
142# define SSL_F_SSL_ADD_FILE_CERT_SUBJECTS_TO_STACK 0
143# define SSL_F_SSL_ADD_SERVERHELLO_RENEGOTIATE_EXT 0
144# define SSL_F_SSL_ADD_SERVERHELLO_TLSEXT 0
145# define SSL_F_SSL_ADD_SERVERHELLO_USE_SRTP_EXT 0
146# define SSL_F_SSL_BAD_METHOD 0
147# define SSL_F_SSL_BUILD_CERT_CHAIN 0
148# define SSL_F_SSL_BYTES_TO_CIPHER_LIST 0
149# define SSL_F_SSL_CACHE_CIPHERLIST 0
150# define SSL_F_SSL_CERT_ADD0_CHAIN_CERT 0
151# define SSL_F_SSL_CERT_DUP 0
152# define SSL_F_SSL_CERT_NEW 0
153# define SSL_F_SSL_CERT_SET0_CHAIN 0
154# define SSL_F_SSL_CHECK_PRIVATE_KEY 0
155# define SSL_F_SSL_CHECK_SERVERHELLO_TLSEXT 0
156# define SSL_F_SSL_CHECK_SRP_EXT_CLIENTHELLO 0
157# define SSL_F_SSL_CHECK_SRVR_ECC_CERT_AND_ALG 0
158# define SSL_F_SSL_CHOOSE_CLIENT_VERSION 0
159# define SSL_F_SSL_CIPHER_DESCRIPTION 0
160# define SSL_F_SSL_CIPHER_LIST_TO_BYTES 0
161# define SSL_F_SSL_CIPHER_PROCESS_RULESTR 0
162# define SSL_F_SSL_CIPHER_STRENGTH_SORT 0
163# define SSL_F_SSL_CLEAR 0
164# define SSL_F_SSL_CLIENT_HELLO_GET1_EXTENSIONS_PRESENT 0
165# define SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD 0
166# define SSL_F_SSL_CONF_CMD 0
167# define SSL_F_SSL_CREATE_CIPHER_LIST 0
168# define SSL_F_SSL_CTRL 0
169# define SSL_F_SSL_CTX_CHECK_PRIVATE_KEY 0
170# define SSL_F_SSL_CTX_ENABLE_CT 0
171# define SSL_F_SSL_CTX_MAKE_PROFILES 0
172# define SSL_F_SSL_CTX_NEW 0
173# define SSL_F_SSL_CTX_SET_ALPN_PROTOS 0
174# define SSL_F_SSL_CTX_SET_CIPHER_LIST 0
175# define SSL_F_SSL_CTX_SET_CLIENT_CERT_ENGINE 0
176# define SSL_F_SSL_CTX_SET_CT_VALIDATION_CALLBACK 0
177# define SSL_F_SSL_CTX_SET_SESSION_ID_CONTEXT 0
178# define SSL_F_SSL_CTX_SET_SSL_VERSION 0
179# define SSL_F_SSL_CTX_SET_TLSEXT_MAX_FRAGMENT_LENGTH 0
180# define SSL_F_SSL_CTX_USE_CERTIFICATE 0
181# define SSL_F_SSL_CTX_USE_CERTIFICATE_ASN1 0
182# define SSL_F_SSL_CTX_USE_CERTIFICATE_FILE 0
183# define SSL_F_SSL_CTX_USE_PRIVATEKEY 0
184# define SSL_F_SSL_CTX_USE_PRIVATEKEY_ASN1 0
185# define SSL_F_SSL_CTX_USE_PRIVATEKEY_FILE 0
186# define SSL_F_SSL_CTX_USE_PSK_IDENTITY_HINT 0
187# define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY 0
188# define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_ASN1 0
189# define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE 0
190# define SSL_F_SSL_CTX_USE_SERVERINFO 0
191# define SSL_F_SSL_CTX_USE_SERVERINFO_EX 0
192# define SSL_F_SSL_CTX_USE_SERVERINFO_FILE 0
193# define SSL_F_SSL_DANE_DUP 0
194# define SSL_F_SSL_DANE_ENABLE 0
195# define SSL_F_SSL_DERIVE 0
196# define SSL_F_SSL_DO_CONFIG 0
197# define SSL_F_SSL_DO_HANDSHAKE 0
198# define SSL_F_SSL_DUP_CA_LIST 0
199# define SSL_F_SSL_ENABLE_CT 0
200# define SSL_F_SSL_GENERATE_PKEY_GROUP 0
201# define SSL_F_SSL_GENERATE_SESSION_ID 0
202# define SSL_F_SSL_GET_NEW_SESSION 0
203# define SSL_F_SSL_GET_PREV_SESSION 0
204# define SSL_F_SSL_GET_SERVER_CERT_INDEX 0
205# define SSL_F_SSL_GET_SIGN_PKEY 0
206# define SSL_F_SSL_HANDSHAKE_HASH 0
207# define SSL_F_SSL_INIT_WBIO_BUFFER 0
208# define SSL_F_SSL_KEY_UPDATE 0
209# define SSL_F_SSL_LOAD_CLIENT_CA_FILE 0
210# define SSL_F_SSL_LOG_MASTER_SECRET 0
211# define SSL_F_SSL_LOG_RSA_CLIENT_KEY_EXCHANGE 0
212# define SSL_F_SSL_MODULE_INIT 0
213# define SSL_F_SSL_NEW 0
214# define SSL_F_SSL_NEXT_PROTO_VALIDATE 0
215# define SSL_F_SSL_PARSE_CLIENTHELLO_RENEGOTIATE_EXT 0
216# define SSL_F_SSL_PARSE_CLIENTHELLO_TLSEXT 0
217# define SSL_F_SSL_PARSE_CLIENTHELLO_USE_SRTP_EXT 0
218# define SSL_F_SSL_PARSE_SERVERHELLO_RENEGOTIATE_EXT 0
219# define SSL_F_SSL_PARSE_SERVERHELLO_TLSEXT 0
220# define SSL_F_SSL_PARSE_SERVERHELLO_USE_SRTP_EXT 0
221# define SSL_F_SSL_PEEK 0
222# define SSL_F_SSL_PEEK_EX 0
223# define SSL_F_SSL_PEEK_INTERNAL 0
224# define SSL_F_SSL_READ 0
225# define SSL_F_SSL_READ_EARLY_DATA 0
226# define SSL_F_SSL_READ_EX 0
227# define SSL_F_SSL_READ_INTERNAL 0
228# define SSL_F_SSL_RENEGOTIATE 0
229# define SSL_F_SSL_RENEGOTIATE_ABBREVIATED 0
230# define SSL_F_SSL_SCAN_CLIENTHELLO_TLSEXT 0
231# define SSL_F_SSL_SCAN_SERVERHELLO_TLSEXT 0
232# define SSL_F_SSL_SESSION_DUP 0
233# define SSL_F_SSL_SESSION_NEW 0
234# define SSL_F_SSL_SESSION_PRINT_FP 0
235# define SSL_F_SSL_SESSION_SET1_ID 0
236# define SSL_F_SSL_SESSION_SET1_ID_CONTEXT 0
237# define SSL_F_SSL_SET_ALPN_PROTOS 0
238# define SSL_F_SSL_SET_CERT 0
239# define SSL_F_SSL_SET_CERT_AND_KEY 0
240# define SSL_F_SSL_SET_CIPHER_LIST 0
241# define SSL_F_SSL_SET_CT_VALIDATION_CALLBACK 0
242# define SSL_F_SSL_SET_FD 0
243# define SSL_F_SSL_SET_PKEY 0
244# define SSL_F_SSL_SET_RFD 0
245# define SSL_F_SSL_SET_SESSION 0
246# define SSL_F_SSL_SET_SESSION_ID_CONTEXT 0
247# define SSL_F_SSL_SET_SESSION_TICKET_EXT 0
248# define SSL_F_SSL_SET_TLSEXT_MAX_FRAGMENT_LENGTH 0
249# define SSL_F_SSL_SET_WFD 0
250# define SSL_F_SSL_SHUTDOWN 0
251# define SSL_F_SSL_SRP_CTX_INIT 0
252# define SSL_F_SSL_START_ASYNC_JOB 0
253# define SSL_F_SSL_UNDEFINED_FUNCTION 0
254# define SSL_F_SSL_UNDEFINED_VOID_FUNCTION 0
255# define SSL_F_SSL_USE_CERTIFICATE 0
256# define SSL_F_SSL_USE_CERTIFICATE_ASN1 0
257# define SSL_F_SSL_USE_CERTIFICATE_FILE 0
258# define SSL_F_SSL_USE_PRIVATEKEY 0
259# define SSL_F_SSL_USE_PRIVATEKEY_ASN1 0
260# define SSL_F_SSL_USE_PRIVATEKEY_FILE 0
261# define SSL_F_SSL_USE_PSK_IDENTITY_HINT 0
262# define SSL_F_SSL_USE_RSAPRIVATEKEY 0
263# define SSL_F_SSL_USE_RSAPRIVATEKEY_ASN1 0
264# define SSL_F_SSL_USE_RSAPRIVATEKEY_FILE 0
265# define SSL_F_SSL_VALIDATE_CT 0
266# define SSL_F_SSL_VERIFY_CERT_CHAIN 0
267# define SSL_F_SSL_VERIFY_CLIENT_POST_HANDSHAKE 0
268# define SSL_F_SSL_WRITE 0
269# define SSL_F_SSL_WRITE_EARLY_DATA 0
270# define SSL_F_SSL_WRITE_EARLY_FINISH 0
271# define SSL_F_SSL_WRITE_EX 0
272# define SSL_F_SSL_WRITE_INTERNAL 0
273# define SSL_F_STATE_MACHINE 0
274# define SSL_F_TLS12_CHECK_PEER_SIGALG 0
275# define SSL_F_TLS12_COPY_SIGALGS 0
276# define SSL_F_TLS13_CHANGE_CIPHER_STATE 0
277# define SSL_F_TLS13_ENC 0
278# define SSL_F_TLS13_FINAL_FINISH_MAC 0
279# define SSL_F_TLS13_GENERATE_SECRET 0
280# define SSL_F_TLS13_HKDF_EXPAND 0
281# define SSL_F_TLS13_RESTORE_HANDSHAKE_DIGEST_FOR_PHA 0
282# define SSL_F_TLS13_SAVE_HANDSHAKE_DIGEST_FOR_PHA 0
283# define SSL_F_TLS13_SETUP_KEY_BLOCK 0
284# define SSL_F_TLS1_CHANGE_CIPHER_STATE 0
285# define SSL_F_TLS1_CHECK_DUPLICATE_EXTENSIONS 0
286# define SSL_F_TLS1_ENC 0
287# define SSL_F_TLS1_EXPORT_KEYING_MATERIAL 0
288# define SSL_F_TLS1_GET_CURVELIST 0
289# define SSL_F_TLS1_PRF 0
290# define SSL_F_TLS1_SAVE_U16 0
291# define SSL_F_TLS1_SETUP_KEY_BLOCK 0
292# define SSL_F_TLS1_SET_GROUPS 0
293# define SSL_F_TLS1_SET_RAW_SIGALGS 0
294# define SSL_F_TLS1_SET_SERVER_SIGALGS 0
295# define SSL_F_TLS1_SET_SHARED_SIGALGS 0
296# define SSL_F_TLS1_SET_SIGALGS 0
297# define SSL_F_TLS_CHOOSE_SIGALG 0
298# define SSL_F_TLS_CLIENT_KEY_EXCHANGE_POST_WORK 0
299# define SSL_F_TLS_COLLECT_EXTENSIONS 0
300# define SSL_F_TLS_CONSTRUCT_CERTIFICATE_AUTHORITIES 0
301# define SSL_F_TLS_CONSTRUCT_CERTIFICATE_REQUEST 0
302# define SSL_F_TLS_CONSTRUCT_CERT_STATUS 0
303# define SSL_F_TLS_CONSTRUCT_CERT_STATUS_BODY 0
304# define SSL_F_TLS_CONSTRUCT_CERT_VERIFY 0
305# define SSL_F_TLS_CONSTRUCT_CHANGE_CIPHER_SPEC 0
306# define SSL_F_TLS_CONSTRUCT_CKE_DHE 0
307# define SSL_F_TLS_CONSTRUCT_CKE_ECDHE 0
308# define SSL_F_TLS_CONSTRUCT_CKE_GOST 0
309# define SSL_F_TLS_CONSTRUCT_CKE_PSK_PREAMBLE 0
310# define SSL_F_TLS_CONSTRUCT_CKE_RSA 0
311# define SSL_F_TLS_CONSTRUCT_CKE_SRP 0
312# define SSL_F_TLS_CONSTRUCT_CLIENT_CERTIFICATE 0
313# define SSL_F_TLS_CONSTRUCT_CLIENT_HELLO 0
314# define SSL_F_TLS_CONSTRUCT_CLIENT_KEY_EXCHANGE 0
315# define SSL_F_TLS_CONSTRUCT_CLIENT_VERIFY 0
316# define SSL_F_TLS_CONSTRUCT_CTOS_ALPN 0
317# define SSL_F_TLS_CONSTRUCT_CTOS_CERTIFICATE 0
318# define SSL_F_TLS_CONSTRUCT_CTOS_COOKIE 0
319# define SSL_F_TLS_CONSTRUCT_CTOS_EARLY_DATA 0
320# define SSL_F_TLS_CONSTRUCT_CTOS_EC_PT_FORMATS 0
321# define SSL_F_TLS_CONSTRUCT_CTOS_EMS 0
322# define SSL_F_TLS_CONSTRUCT_CTOS_ETM 0
323# define SSL_F_TLS_CONSTRUCT_CTOS_HELLO 0
324# define SSL_F_TLS_CONSTRUCT_CTOS_KEY_EXCHANGE 0
325# define SSL_F_TLS_CONSTRUCT_CTOS_KEY_SHARE 0
326# define SSL_F_TLS_CONSTRUCT_CTOS_MAXFRAGMENTLEN 0
327# define SSL_F_TLS_CONSTRUCT_CTOS_NPN 0
328# define SSL_F_TLS_CONSTRUCT_CTOS_PADDING 0
329# define SSL_F_TLS_CONSTRUCT_CTOS_POST_HANDSHAKE_AUTH 0
330# define SSL_F_TLS_CONSTRUCT_CTOS_PSK 0
331# define SSL_F_TLS_CONSTRUCT_CTOS_PSK_KEX_MODES 0
332# define SSL_F_TLS_CONSTRUCT_CTOS_RENEGOTIATE 0
333# define SSL_F_TLS_CONSTRUCT_CTOS_SCT 0
334# define SSL_F_TLS_CONSTRUCT_CTOS_SERVER_NAME 0
335# define SSL_F_TLS_CONSTRUCT_CTOS_SESSION_TICKET 0
336# define SSL_F_TLS_CONSTRUCT_CTOS_SIG_ALGS 0
337# define SSL_F_TLS_CONSTRUCT_CTOS_SRP 0
338# define SSL_F_TLS_CONSTRUCT_CTOS_STATUS_REQUEST 0
339# define SSL_F_TLS_CONSTRUCT_CTOS_SUPPORTED_GROUPS 0
340# define SSL_F_TLS_CONSTRUCT_CTOS_SUPPORTED_VERSIONS 0
341# define SSL_F_TLS_CONSTRUCT_CTOS_USE_SRTP 0
342# define SSL_F_TLS_CONSTRUCT_CTOS_VERIFY 0
343# define SSL_F_TLS_CONSTRUCT_ENCRYPTED_EXTENSIONS 0
344# define SSL_F_TLS_CONSTRUCT_END_OF_EARLY_DATA 0
345# define SSL_F_TLS_CONSTRUCT_EXTENSIONS 0
346# define SSL_F_TLS_CONSTRUCT_FINISHED 0
347# define SSL_F_TLS_CONSTRUCT_HELLO_REQUEST 0
348# define SSL_F_TLS_CONSTRUCT_HELLO_RETRY_REQUEST 0
349# define SSL_F_TLS_CONSTRUCT_KEY_UPDATE 0
350# define SSL_F_TLS_CONSTRUCT_NEW_SESSION_TICKET 0
351# define SSL_F_TLS_CONSTRUCT_NEXT_PROTO 0
352# define SSL_F_TLS_CONSTRUCT_SERVER_CERTIFICATE 0
353# define SSL_F_TLS_CONSTRUCT_SERVER_HELLO 0
354# define SSL_F_TLS_CONSTRUCT_SERVER_KEY_EXCHANGE 0
355# define SSL_F_TLS_CONSTRUCT_STOC_ALPN 0
356# define SSL_F_TLS_CONSTRUCT_STOC_CERTIFICATE 0
357# define SSL_F_TLS_CONSTRUCT_STOC_COOKIE 0
358# define SSL_F_TLS_CONSTRUCT_STOC_CRYPTOPRO_BUG 0
359# define SSL_F_TLS_CONSTRUCT_STOC_DONE 0
360# define SSL_F_TLS_CONSTRUCT_STOC_EARLY_DATA 0
361# define SSL_F_TLS_CONSTRUCT_STOC_EARLY_DATA_INFO 0
362# define SSL_F_TLS_CONSTRUCT_STOC_EC_PT_FORMATS 0
363# define SSL_F_TLS_CONSTRUCT_STOC_EMS 0
364# define SSL_F_TLS_CONSTRUCT_STOC_ETM 0
365# define SSL_F_TLS_CONSTRUCT_STOC_HELLO 0
366# define SSL_F_TLS_CONSTRUCT_STOC_KEY_EXCHANGE 0
367# define SSL_F_TLS_CONSTRUCT_STOC_KEY_SHARE 0
368# define SSL_F_TLS_CONSTRUCT_STOC_MAXFRAGMENTLEN 0
369# define SSL_F_TLS_CONSTRUCT_STOC_NEXT_PROTO_NEG 0
370# define SSL_F_TLS_CONSTRUCT_STOC_PSK 0
371# define SSL_F_TLS_CONSTRUCT_STOC_RENEGOTIATE 0
372# define SSL_F_TLS_CONSTRUCT_STOC_SERVER_NAME 0
373# define SSL_F_TLS_CONSTRUCT_STOC_SESSION_TICKET 0
374# define SSL_F_TLS_CONSTRUCT_STOC_STATUS_REQUEST 0
375# define SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_GROUPS 0
376# define SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_VERSIONS 0
377# define SSL_F_TLS_CONSTRUCT_STOC_USE_SRTP 0
378# define SSL_F_TLS_EARLY_POST_PROCESS_CLIENT_HELLO 0
379# define SSL_F_TLS_FINISH_HANDSHAKE 0
380# define SSL_F_TLS_GET_MESSAGE_BODY 0
381# define SSL_F_TLS_GET_MESSAGE_HEADER 0
382# define SSL_F_TLS_HANDLE_ALPN 0
383# define SSL_F_TLS_HANDLE_STATUS_REQUEST 0
384# define SSL_F_TLS_PARSE_CERTIFICATE_AUTHORITIES 0
385# define SSL_F_TLS_PARSE_CLIENTHELLO_TLSEXT 0
386# define SSL_F_TLS_PARSE_CTOS_ALPN 0
387# define SSL_F_TLS_PARSE_CTOS_COOKIE 0
388# define SSL_F_TLS_PARSE_CTOS_EARLY_DATA 0
389# define SSL_F_TLS_PARSE_CTOS_EC_PT_FORMATS 0
390# define SSL_F_TLS_PARSE_CTOS_EMS 0
391# define SSL_F_TLS_PARSE_CTOS_KEY_SHARE 0
392# define SSL_F_TLS_PARSE_CTOS_MAXFRAGMENTLEN 0
393# define SSL_F_TLS_PARSE_CTOS_POST_HANDSHAKE_AUTH 0
394# define SSL_F_TLS_PARSE_CTOS_PSK 0
395# define SSL_F_TLS_PARSE_CTOS_PSK_KEX_MODES 0
396# define SSL_F_TLS_PARSE_CTOS_RENEGOTIATE 0
397# define SSL_F_TLS_PARSE_CTOS_SERVER_NAME 0
398# define SSL_F_TLS_PARSE_CTOS_SESSION_TICKET 0
399# define SSL_F_TLS_PARSE_CTOS_SIG_ALGS 0
400# define SSL_F_TLS_PARSE_CTOS_SIG_ALGS_CERT 0
401# define SSL_F_TLS_PARSE_CTOS_SRP 0
402# define SSL_F_TLS_PARSE_CTOS_STATUS_REQUEST 0
403# define SSL_F_TLS_PARSE_CTOS_SUPPORTED_GROUPS 0
404# define SSL_F_TLS_PARSE_CTOS_USE_SRTP 0
405# define SSL_F_TLS_PARSE_STOC_ALPN 0
406# define SSL_F_TLS_PARSE_STOC_COOKIE 0
407# define SSL_F_TLS_PARSE_STOC_EARLY_DATA 0
408# define SSL_F_TLS_PARSE_STOC_EARLY_DATA_INFO 0
409# define SSL_F_TLS_PARSE_STOC_EC_PT_FORMATS 0
410# define SSL_F_TLS_PARSE_STOC_KEY_SHARE 0
411# define SSL_F_TLS_PARSE_STOC_MAXFRAGMENTLEN 0
412# define SSL_F_TLS_PARSE_STOC_NPN 0
413# define SSL_F_TLS_PARSE_STOC_PSK 0
414# define SSL_F_TLS_PARSE_STOC_RENEGOTIATE 0
415# define SSL_F_TLS_PARSE_STOC_SCT 0
416# define SSL_F_TLS_PARSE_STOC_SERVER_NAME 0
417# define SSL_F_TLS_PARSE_STOC_SESSION_TICKET 0
418# define SSL_F_TLS_PARSE_STOC_STATUS_REQUEST 0
419# define SSL_F_TLS_PARSE_STOC_SUPPORTED_VERSIONS 0
420# define SSL_F_TLS_PARSE_STOC_USE_SRTP 0
421# define SSL_F_TLS_POST_PROCESS_CLIENT_HELLO 0
422# define SSL_F_TLS_POST_PROCESS_CLIENT_KEY_EXCHANGE 0
423# define SSL_F_TLS_PREPARE_CLIENT_CERTIFICATE 0
424# define SSL_F_TLS_PROCESS_AS_HELLO_RETRY_REQUEST 0
425# define SSL_F_TLS_PROCESS_CERTIFICATE_REQUEST 0
426# define SSL_F_TLS_PROCESS_CERT_STATUS 0
427# define SSL_F_TLS_PROCESS_CERT_STATUS_BODY 0
428# define SSL_F_TLS_PROCESS_CERT_VERIFY 0
429# define SSL_F_TLS_PROCESS_CHANGE_CIPHER_SPEC 0
430# define SSL_F_TLS_PROCESS_CKE_DHE 0
431# define SSL_F_TLS_PROCESS_CKE_ECDHE 0
432# define SSL_F_TLS_PROCESS_CKE_GOST 0
433# define SSL_F_TLS_PROCESS_CKE_PSK_PREAMBLE 0
434# define SSL_F_TLS_PROCESS_CKE_RSA 0
435# define SSL_F_TLS_PROCESS_CKE_SRP 0
436# define SSL_F_TLS_PROCESS_CLIENT_CERTIFICATE 0
437# define SSL_F_TLS_PROCESS_CLIENT_HELLO 0
438# define SSL_F_TLS_PROCESS_CLIENT_KEY_EXCHANGE 0
439# define SSL_F_TLS_PROCESS_ENCRYPTED_EXTENSIONS 0
440# define SSL_F_TLS_PROCESS_END_OF_EARLY_DATA 0
441# define SSL_F_TLS_PROCESS_FINISHED 0
442# define SSL_F_TLS_PROCESS_HELLO_REQ 0
443# define SSL_F_TLS_PROCESS_HELLO_RETRY_REQUEST 0
444# define SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT 0
445# define SSL_F_TLS_PROCESS_KEY_EXCHANGE 0
446# define SSL_F_TLS_PROCESS_KEY_UPDATE 0
447# define SSL_F_TLS_PROCESS_NEW_SESSION_TICKET 0
448# define SSL_F_TLS_PROCESS_NEXT_PROTO 0
449# define SSL_F_TLS_PROCESS_SERVER_CERTIFICATE 0
450# define SSL_F_TLS_PROCESS_SERVER_DONE 0
451# define SSL_F_TLS_PROCESS_SERVER_HELLO 0
452# define SSL_F_TLS_PROCESS_SKE_DHE 0
453# define SSL_F_TLS_PROCESS_SKE_ECDHE 0
454# define SSL_F_TLS_PROCESS_SKE_PSK_PREAMBLE 0
455# define SSL_F_TLS_PROCESS_SKE_SRP 0
456# define SSL_F_TLS_PSK_DO_BINDER 0
457# define SSL_F_TLS_SCAN_CLIENTHELLO_TLSEXT 0
458# define SSL_F_TLS_SETUP_HANDSHAKE 0
459# define SSL_F_USE_CERTIFICATE_CHAIN_FILE 0
460# define SSL_F_WPACKET_INTERN_INIT_LEN 0
461# define SSL_F_WPACKET_START_SUB_PACKET_LEN__ 0
462# define SSL_F_WRITE_STATE_MACHINE 0
463# endif
464
465# ifdef __cplusplus
466}
467# endif
468#endif
469

source code of include/openssl/sslerr_legacy.h