/src/openssl/crypto/ssl_err.c
Line  | Count  | Source  | 
1  |  | /*  | 
2  |  |  * Generated by util/mkerr.pl DO NOT EDIT  | 
3  |  |  * Copyright 1995-2025 The OpenSSL Project Authors. All Rights Reserved.  | 
4  |  |  *  | 
5  |  |  * Licensed under the Apache License 2.0 (the "License").  You may not use  | 
6  |  |  * this file except in compliance with the License.  You can obtain a copy  | 
7  |  |  * in the file LICENSE in the source distribution or at  | 
8  |  |  * https://www.openssl.org/source/license.html  | 
9  |  |  */  | 
10  |  |  | 
11  |  | #include <openssl/err.h>  | 
12  |  | #include <openssl/sslerr.h>  | 
13  |  | #include "sslerr.h"  | 
14  |  |  | 
15  |  | #ifndef OPENSSL_NO_ERR  | 
16  |  |  | 
17  |  | static const ERR_STRING_DATA SSL_str_reasons[] = { | 
18  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_APPLICATION_DATA_AFTER_CLOSE_NOTIFY), | 
19  |  |      "application data after close notify"},  | 
20  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_APP_DATA_IN_HANDSHAKE), | 
21  |  |      "app data in handshake"},  | 
22  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT), | 
23  |  |      "attempt to reuse session in different context"},  | 
24  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_AT_LEAST_TLS_1_2_NEEDED_IN_SUITEB_MODE), | 
25  |  |      "at least (D)TLS 1.2 needed in Suite B mode"},  | 
26  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_CERTIFICATE), "bad certificate"}, | 
27  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_CHANGE_CIPHER_SPEC), | 
28  |  |      "bad change cipher spec"},  | 
29  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_CIPHER), "bad cipher"}, | 
30  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_COMPRESSION_ALGORITHM), | 
31  |  |      "bad compression algorithm"},  | 
32  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_DATA), "bad data"}, | 
33  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_DATA_RETURNED_BY_CALLBACK), | 
34  |  |      "bad data returned by callback"},  | 
35  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_DECOMPRESSION), "bad decompression"}, | 
36  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_DH_VALUE), "bad dh value"}, | 
37  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_DIGEST_LENGTH), "bad digest length"}, | 
38  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_EARLY_DATA), "bad early data"}, | 
39  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_ECC_CERT), "bad ecc cert"}, | 
40  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_ECPOINT), "bad ecpoint"}, | 
41  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_EXTENSION), "bad extension"}, | 
42  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_HANDSHAKE_LENGTH), | 
43  |  |      "bad handshake length"},  | 
44  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_HANDSHAKE_STATE), | 
45  |  |      "bad handshake state"},  | 
46  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_HELLO_REQUEST), "bad hello request"}, | 
47  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_HRR_VERSION), "bad hrr version"}, | 
48  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_KEY_SHARE), "bad key share"}, | 
49  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_KEY_UPDATE), "bad key update"}, | 
50  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_LEGACY_VERSION), "bad legacy version"}, | 
51  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_LENGTH), "bad length"}, | 
52  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_PACKET), "bad packet"}, | 
53  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_PACKET_LENGTH), "bad packet length"}, | 
54  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_PROTOCOL_VERSION_NUMBER), | 
55  |  |      "bad protocol version number"},  | 
56  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_PSK), "bad psk"}, | 
57  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_PSK_IDENTITY), "bad psk identity"}, | 
58  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_RECORD_TYPE), "bad record type"}, | 
59  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_RSA_ENCRYPT), "bad rsa encrypt"}, | 
60  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SIGNATURE), "bad signature"}, | 
61  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SRP_A_LENGTH), "bad srp a length"}, | 
62  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SRP_PARAMETERS), "bad srp parameters"}, | 
63  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SRTP_MKI_VALUE), "bad srtp mki value"}, | 
64  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SRTP_PROTECTION_PROFILE_LIST), | 
65  |  |      "bad srtp protection profile list"},  | 
66  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_SSL_FILETYPE), "bad ssl filetype"}, | 
67  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_VALUE), "bad value"}, | 
68  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BAD_WRITE_RETRY), "bad write retry"}, | 
69  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BINDER_DOES_NOT_VERIFY), | 
70  |  |      "binder does not verify"},  | 
71  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BIO_NOT_SET), "bio not set"}, | 
72  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BLOCK_CIPHER_PAD_IS_WRONG), | 
73  |  |      "block cipher pad is wrong"},  | 
74  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_BN_LIB), "bn lib"}, | 
75  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CALLBACK_FAILED), "callback failed"}, | 
76  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CANNOT_CHANGE_CIPHER), | 
77  |  |      "cannot change cipher"},  | 
78  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CANNOT_GET_GROUP_NAME), | 
79  |  |      "cannot get group name"},  | 
80  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CA_DN_LENGTH_MISMATCH), | 
81  |  |      "ca dn length mismatch"},  | 
82  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CA_KEY_TOO_SMALL), "ca key too small"}, | 
83  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CA_MD_TOO_WEAK), "ca md too weak"}, | 
84  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CCS_RECEIVED_EARLY), "ccs received early"}, | 
85  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CERTIFICATE_VERIFY_FAILED), | 
86  |  |      "certificate verify failed"},  | 
87  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CERT_CB_ERROR), "cert cb error"}, | 
88  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CERT_LENGTH_MISMATCH), | 
89  |  |      "cert length mismatch"},  | 
90  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CIPHERSUITE_DIGEST_HAS_CHANGED), | 
91  |  |      "ciphersuite digest has changed"},  | 
92  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CIPHER_CODE_WRONG_LENGTH), | 
93  |  |      "cipher code wrong length"},  | 
94  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CLIENTHELLO_TLSEXT), "clienthello tlsext"}, | 
95  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COMPRESSED_LENGTH_TOO_LONG), | 
96  |  |      "compressed length too long"},  | 
97  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COMPRESSION_DISABLED), | 
98  |  |      "compression disabled"},  | 
99  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COMPRESSION_FAILURE), | 
100  |  |      "compression failure"},  | 
101  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COMPRESSION_ID_NOT_WITHIN_PRIVATE_RANGE), | 
102  |  |      "compression id not within private range"},  | 
103  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COMPRESSION_LIBRARY_ERROR), | 
104  |  |      "compression library error"},  | 
105  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CONNECTION_TYPE_NOT_SET), | 
106  |  |      "connection type not set"},  | 
107  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CONN_USE_ONLY), "conn use only"}, | 
108  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CONTEXT_NOT_DANE_ENABLED), | 
109  |  |      "context not dane enabled"},  | 
110  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COOKIE_GEN_CALLBACK_FAILURE), | 
111  |  |      "cookie gen callback failure"},  | 
112  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COOKIE_MISMATCH), "cookie mismatch"}, | 
113  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_COPY_PARAMETERS_FAILED), | 
114  |  |      "copy parameters failed"},  | 
115  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_CUSTOM_EXT_HANDLER_ALREADY_INSTALLED), | 
116  |  |      "custom ext handler already installed"},  | 
117  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_ALREADY_ENABLED), | 
118  |  |      "dane already enabled"},  | 
119  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_CANNOT_OVERRIDE_MTYPE_FULL), | 
120  |  |      "dane cannot override mtype full"},  | 
121  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_NOT_ENABLED), "dane not enabled"}, | 
122  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_CERTIFICATE), | 
123  |  |      "dane tlsa bad certificate"},  | 
124  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_CERTIFICATE_USAGE), | 
125  |  |      "dane tlsa bad certificate usage"},  | 
126  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_DATA_LENGTH), | 
127  |  |      "dane tlsa bad data length"},  | 
128  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_DIGEST_LENGTH), | 
129  |  |      "dane tlsa bad digest length"},  | 
130  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_MATCHING_TYPE), | 
131  |  |      "dane tlsa bad matching type"},  | 
132  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_PUBLIC_KEY), | 
133  |  |      "dane tlsa bad public key"},  | 
134  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_BAD_SELECTOR), | 
135  |  |      "dane tlsa bad selector"},  | 
136  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DANE_TLSA_NULL_DATA), | 
137  |  |      "dane tlsa null data"},  | 
138  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DATA_BETWEEN_CCS_AND_FINISHED), | 
139  |  |      "data between ccs and finished"},  | 
140  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DATA_LENGTH_TOO_LONG), | 
141  |  |      "data length too long"},  | 
142  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DECRYPTION_FAILED), "decryption failed"}, | 
143  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC), | 
144  |  |      "decryption failed or bad record mac"},  | 
145  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DH_KEY_TOO_SMALL), "dh key too small"}, | 
146  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG), | 
147  |  |      "dh public value length is wrong"},  | 
148  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DIGEST_CHECK_FAILED), | 
149  |  |      "digest check failed"},  | 
150  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DOMAIN_USE_ONLY), "domain use only"}, | 
151  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DTLS_MESSAGE_TOO_BIG), | 
152  |  |      "dtls message too big"},  | 
153  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_DUPLICATE_COMPRESSION_ID), | 
154  |  |      "duplicate compression id"},  | 
155  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ECC_CERT_NOT_FOR_SIGNING), | 
156  |  |      "ecc cert not for signing"},  | 
157  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ECDH_REQUIRED_FOR_SUITEB_MODE), | 
158  |  |      "ecdh required for suiteb mode"},  | 
159  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EE_KEY_TOO_SMALL), "ee key too small"}, | 
160  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EMPTY_RAW_PUBLIC_KEY), | 
161  |  |      "empty raw public key"},  | 
162  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EMPTY_SRTP_PROTECTION_PROFILE_LIST), | 
163  |  |      "empty srtp protection profile list"},  | 
164  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ENCRYPTED_LENGTH_TOO_LONG), | 
165  |  |      "encrypted length too long"},  | 
166  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST), | 
167  |  |      "error in received cipher list"},  | 
168  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ERROR_IN_SYSTEM_DEFAULT_CONFIG), | 
169  |  |      "error in system default config"},  | 
170  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ERROR_SETTING_TLSA_BASE_DOMAIN), | 
171  |  |      "error setting tlsa base domain"},  | 
172  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EXCEEDS_MAX_FRAGMENT_SIZE), | 
173  |  |      "exceeds max fragment size"},  | 
174  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EXCESSIVE_MESSAGE_SIZE), | 
175  |  |      "excessive message size"},  | 
176  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EXTENSION_NOT_RECEIVED), | 
177  |  |      "extension not received"},  | 
178  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EXTRA_DATA_IN_MESSAGE), | 
179  |  |      "extra data in message"},  | 
180  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_EXT_LENGTH_MISMATCH), | 
181  |  |      "ext length mismatch"},  | 
182  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_FAILED_TO_GET_PARAMETER), | 
183  |  |      "failed to get parameter"},  | 
184  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_FAILED_TO_INIT_ASYNC), | 
185  |  |      "failed to init async"},  | 
186  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_FEATURE_NEGOTIATION_NOT_COMPLETE), | 
187  |  |      "feature negotiation not complete"},  | 
188  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_FEATURE_NOT_RENEGOTIABLE), | 
189  |  |      "feature not renegotiable"},  | 
190  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_FRAGMENTED_CLIENT_HELLO), | 
191  |  |      "fragmented client hello"},  | 
192  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_GOT_A_FIN_BEFORE_A_CCS), | 
193  |  |      "got a fin before a ccs"},  | 
194  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_HTTPS_PROXY_REQUEST), | 
195  |  |      "https proxy request"},  | 
196  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_HTTP_REQUEST), "http request"}, | 
197  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ILLEGAL_POINT_COMPRESSION), | 
198  |  |      "illegal point compression"},  | 
199  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_ILLEGAL_SUITEB_DIGEST), | 
200  |  |      "illegal Suite B digest"},  | 
201  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INAPPROPRIATE_FALLBACK), | 
202  |  |      "inappropriate fallback"},  | 
203  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INCONSISTENT_COMPRESSION), | 
204  |  |      "inconsistent compression"},  | 
205  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INCONSISTENT_EARLY_DATA_ALPN), | 
206  |  |      "inconsistent early data alpn"},  | 
207  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INCONSISTENT_EARLY_DATA_SNI), | 
208  |  |      "inconsistent early data sni"},  | 
209  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INCONSISTENT_EXTMS), "inconsistent extms"}, | 
210  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INSUFFICIENT_SECURITY), | 
211  |  |      "insufficient security"},  | 
212  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_ALERT), "invalid alert"}, | 
213  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CCS_MESSAGE), | 
214  |  |      "invalid ccs message"},  | 
215  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CERTIFICATE_OR_ALG), | 
216  |  |      "invalid certificate or alg"},  | 
217  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_COMMAND), "invalid command"}, | 
218  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_COMPRESSION_ALGORITHM), | 
219  |  |      "invalid compression algorithm"},  | 
220  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CONFIG), "invalid config"}, | 
221  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CONFIGURATION_NAME), | 
222  |  |      "invalid configuration name"},  | 
223  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CONTEXT), "invalid context"}, | 
224  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_CT_VALIDATION_TYPE), | 
225  |  |      "invalid ct validation type"},  | 
226  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_KEY_UPDATE_TYPE), | 
227  |  |      "invalid key update type"},  | 
228  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_MAX_EARLY_DATA), | 
229  |  |      "invalid max early data"},  | 
230  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_NULL_CMD_NAME), | 
231  |  |      "invalid null cmd name"},  | 
232  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_RAW_PUBLIC_KEY), | 
233  |  |      "invalid raw public key"},  | 
234  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_RECORD), "invalid record"}, | 
235  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_SEQUENCE_NUMBER), | 
236  |  |      "invalid sequence number"},  | 
237  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_SERVERINFO_DATA), | 
238  |  |      "invalid serverinfo data"},  | 
239  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_SESSION_ID), "invalid session id"}, | 
240  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_SRP_USERNAME), | 
241  |  |      "invalid srp username"},  | 
242  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_STATUS_RESPONSE), | 
243  |  |      "invalid status response"},  | 
244  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_TICKET_KEYS_LENGTH), | 
245  |  |      "invalid ticket keys length"},  | 
246  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LEGACY_SIGALG_DISALLOWED_OR_UNSUPPORTED), | 
247  |  |      "legacy sigalg disallowed or unsupported"},  | 
248  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LENGTH_MISMATCH), "length mismatch"}, | 
249  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LENGTH_TOO_LONG), "length too long"}, | 
250  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LENGTH_TOO_SHORT), "length too short"}, | 
251  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LIBRARY_BUG), "library bug"}, | 
252  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LIBRARY_HAS_NO_CIPHERS), | 
253  |  |      "library has no ciphers"},  | 
254  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LISTENER_USE_ONLY), "listener use only"}, | 
255  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MAXIMUM_ENCRYPTED_PKTS_REACHED), | 
256  |  |      "maximum encrypted pkts reached"},  | 
257  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_DSA_SIGNING_CERT), | 
258  |  |      "missing dsa signing cert"},  | 
259  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_ECDSA_SIGNING_CERT), | 
260  |  |      "missing ecdsa signing cert"},  | 
261  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_FATAL), "missing fatal"}, | 
262  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_PARAMETERS), "missing parameters"}, | 
263  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_PSK_KEX_MODES_EXTENSION), | 
264  |  |      "missing psk kex modes extension"},  | 
265  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_QUIC_TLS_FUNCTIONS), | 
266  |  |      "missing quic tls functions"},  | 
267  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_RSA_CERTIFICATE), | 
268  |  |      "missing rsa certificate"},  | 
269  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_RSA_ENCRYPTING_CERT), | 
270  |  |      "missing rsa encrypting cert"},  | 
271  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_RSA_SIGNING_CERT), | 
272  |  |      "missing rsa signing cert"},  | 
273  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SIGALGS_EXTENSION), | 
274  |  |      "missing sigalgs extension"},  | 
275  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SIGNING_CERT), | 
276  |  |      "missing signing cert"},  | 
277  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SRP_PARAM), | 
278  |  |      "can't find SRP server param"},  | 
279  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SUPPORTED_GROUPS_EXTENSION), | 
280  |  |      "missing supported groups extension"},  | 
281  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_SUPPORTED_VERSIONS_EXTENSION), | 
282  |  |      "missing supported versions extension"},  | 
283  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_TMP_DH_KEY), "missing tmp dh key"}, | 
284  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MISSING_TMP_ECDH_KEY), | 
285  |  |      "missing tmp ecdh key"},  | 
286  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_MIXED_HANDSHAKE_AND_NON_HANDSHAKE_DATA), | 
287  |  |      "mixed handshake and non handshake data"},  | 
288  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NOT_ON_RECORD_BOUNDARY), | 
289  |  |      "not on record boundary"},  | 
290  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NOT_REPLACING_CERTIFICATE), | 
291  |  |      "not replacing certificate"},  | 
292  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NOT_SERVER), "not server"}, | 
293  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_APPLICATION_PROTOCOL), | 
294  |  |      "no application protocol"},  | 
295  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CERTIFICATES_RETURNED), | 
296  |  |      "no certificates returned"},  | 
297  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CERTIFICATE_ASSIGNED), | 
298  |  |      "no certificate assigned"},  | 
299  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CERTIFICATE_SET), "no certificate set"}, | 
300  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CHANGE_FOLLOWING_HRR), | 
301  |  |      "no change following hrr"},  | 
302  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CIPHERS_AVAILABLE), | 
303  |  |      "no ciphers available"},  | 
304  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CIPHERS_SPECIFIED), | 
305  |  |      "no ciphers specified"},  | 
306  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CIPHER_MATCH), "no cipher match"}, | 
307  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_CLIENT_CERT_METHOD), | 
308  |  |      "no client cert method"},  | 
309  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_COMPRESSION_SPECIFIED), | 
310  |  |      "no compression specified"},  | 
311  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_COOKIE_CALLBACK_SET), | 
312  |  |      "no cookie callback set"},  | 
313  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER), | 
314  |  |      "Peer haven't sent GOST certificate, required for selected ciphersuite"},  | 
315  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_METHOD_SPECIFIED), | 
316  |  |      "no method specified"},  | 
317  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_PEM_EXTENSIONS), "no pem extensions"}, | 
318  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_PRIVATE_KEY_ASSIGNED), | 
319  |  |      "no private key assigned"},  | 
320  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_PROTOCOLS_AVAILABLE), | 
321  |  |      "no protocols available"},  | 
322  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_RENEGOTIATION), "no renegotiation"}, | 
323  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_REQUIRED_DIGEST), "no required digest"}, | 
324  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SHARED_CIPHER), "no shared cipher"}, | 
325  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SHARED_GROUPS), "no shared groups"}, | 
326  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SHARED_SIGNATURE_ALGORITHMS), | 
327  |  |      "no shared signature algorithms"},  | 
328  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SRTP_PROFILES), "no srtp profiles"}, | 
329  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_STREAM), "no stream"}, | 
330  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SUITABLE_DIGEST_ALGORITHM), | 
331  |  |      "no suitable digest algorithm"},  | 
332  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SUITABLE_GROUPS), "no suitable groups"}, | 
333  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SUITABLE_KEY_SHARE), | 
334  |  |      "no suitable key share"},  | 
335  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SUITABLE_RECORD_LAYER), | 
336  |  |      "no suitable record layer"},  | 
337  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM), | 
338  |  |      "no suitable signature algorithm"},  | 
339  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_VALID_SCTS), "no valid scts"}, | 
340  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NO_VERIFY_COOKIE_CALLBACK), | 
341  |  |      "no verify cookie callback"},  | 
342  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NULL_SSL_CTX), "null ssl ctx"}, | 
343  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_NULL_SSL_METHOD_PASSED), | 
344  |  |      "null ssl method passed"},  | 
345  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_OCSP_CALLBACK_FAILURE), | 
346  |  |      "ocsp callback failure"},  | 
347  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_OLD_SESSION_CIPHER_NOT_RETURNED), | 
348  |  |      "old session cipher not returned"},  | 
349  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_OLD_SESSION_COMPRESSION_ALGORITHM_NOT_RETURNED), | 
350  |  |      "old session compression algorithm not returned"},  | 
351  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_OVERFLOW_ERROR), "overflow error"}, | 
352  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PACKET_LENGTH_TOO_LONG), | 
353  |  |      "packet length too long"},  | 
354  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PARSE_TLSEXT), "parse tlsext"}, | 
355  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PATH_TOO_LONG), "path too long"}, | 
356  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE), | 
357  |  |      "peer did not return a certificate"},  | 
358  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PEM_NAME_BAD_PREFIX), | 
359  |  |      "pem name bad prefix"},  | 
360  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PEM_NAME_TOO_SHORT), "pem name too short"}, | 
361  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PIPELINE_FAILURE), "pipeline failure"}, | 
362  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_POLL_REQUEST_NOT_SUPPORTED), | 
363  |  |      "poll request not supported"},  | 
364  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_POST_HANDSHAKE_AUTH_ENCODING_ERR), | 
365  |  |      "post handshake auth encoding err"},  | 
366  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PRIVATE_KEY_MISMATCH), | 
367  |  |      "private key mismatch"},  | 
368  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PROTOCOL_IS_SHUTDOWN), | 
369  |  |      "protocol is shutdown"},  | 
370  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PSK_IDENTITY_NOT_FOUND), | 
371  |  |      "psk identity not found"},  | 
372  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PSK_NO_CLIENT_CB), "psk no client cb"}, | 
373  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_PSK_NO_SERVER_CB), "psk no server cb"}, | 
374  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_QUIC_HANDSHAKE_LAYER_ERROR), | 
375  |  |      "quic handshake layer error"},  | 
376  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_QUIC_NETWORK_ERROR), "quic network error"}, | 
377  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_QUIC_PROTOCOL_ERROR), | 
378  |  |      "quic protocol error"},  | 
379  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_READ_BIO_NOT_SET), "read bio not set"}, | 
380  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_READ_TIMEOUT_EXPIRED), | 
381  |  |      "read timeout expired"},  | 
382  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RECORDS_NOT_RELEASED), | 
383  |  |      "records not released"},  | 
384  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RECORD_LAYER_FAILURE), | 
385  |  |      "record layer failure"},  | 
386  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RECORD_LENGTH_MISMATCH), | 
387  |  |      "record length mismatch"},  | 
388  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RECORD_TOO_SMALL), "record too small"}, | 
389  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_REMOTE_PEER_ADDRESS_NOT_SET), | 
390  |  |      "remote peer address not set"},  | 
391  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RENEGOTIATE_EXT_TOO_LONG), | 
392  |  |      "renegotiate ext too long"},  | 
393  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RENEGOTIATION_ENCODING_ERR), | 
394  |  |      "renegotiation encoding err"},  | 
395  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_RENEGOTIATION_MISMATCH), | 
396  |  |      "renegotiation mismatch"},  | 
397  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_REQUEST_PENDING), "request pending"}, | 
398  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_REQUEST_SENT), "request sent"}, | 
399  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_REQUIRED_CIPHER_MISSING), | 
400  |  |      "required cipher missing"},  | 
401  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_REQUIRED_COMPRESSION_ALGORITHM_MISSING), | 
402  |  |      "required compression algorithm missing"},  | 
403  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING), | 
404  |  |      "scsv received when renegotiating"},  | 
405  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SCT_VERIFICATION_FAILED), | 
406  |  |      "sct verification failed"},  | 
407  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SEQUENCE_CTR_WRAPPED), | 
408  |  |      "sequence ctr wrapped"},  | 
409  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SERVERHELLO_TLSEXT), "serverhello tlsext"}, | 
410  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SESSION_ID_CONTEXT_UNINITIALIZED), | 
411  |  |      "session id context uninitialized"},  | 
412  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHUTDOWN_WHILE_IN_INIT), | 
413  |  |      "shutdown while in init"},  | 
414  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SIGNATURE_ALGORITHMS_ERROR), | 
415  |  |      "signature algorithms error"},  | 
416  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE), | 
417  |  |      "signature for non signing certificate"},  | 
418  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SRP_A_CALC), "error with the srp params"}, | 
419  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SRTP_COULD_NOT_ALLOCATE_PROFILES), | 
420  |  |      "srtp could not allocate profiles"},  | 
421  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SRTP_PROTECTION_PROFILE_LIST_TOO_LONG), | 
422  |  |      "srtp protection profile list too long"},  | 
423  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SRTP_UNKNOWN_PROTECTION_PROFILE), | 
424  |  |      "srtp unknown protection profile"},  | 
425  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL3_EXT_INVALID_MAX_FRAGMENT_LENGTH), | 
426  |  |      "ssl3 ext invalid max fragment length"},  | 
427  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL3_EXT_INVALID_SERVERNAME), | 
428  |  |      "ssl3 ext invalid servername"},  | 
429  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL3_EXT_INVALID_SERVERNAME_TYPE), | 
430  |  |      "ssl3 ext invalid servername type"},  | 
431  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL3_SESSION_ID_TOO_LONG), | 
432  |  |      "ssl3 session id too long"},  | 
433  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_BAD_CERTIFICATE), | 
434  |  |      "ssl/tls alert bad certificate"},  | 
435  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_BAD_RECORD_MAC), | 
436  |  |      "ssl/tls alert bad record mac"},  | 
437  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED), | 
438  |  |      "ssl/tls alert certificate expired"},  | 
439  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED), | 
440  |  |      "ssl/tls alert certificate revoked"},  | 
441  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN), | 
442  |  |      "ssl/tls alert certificate unknown"},  | 
443  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_DECOMPRESSION_FAILURE), | 
444  |  |      "ssl/tls alert decompression failure"},  | 
445  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE), | 
446  |  |      "ssl/tls alert handshake failure"},  | 
447  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER), | 
448  |  |      "ssl/tls alert illegal parameter"},  | 
449  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_NO_CERTIFICATE), | 
450  |  |      "ssl/tls alert no certificate"},  | 
451  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE), | 
452  |  |      "ssl/tls alert unexpected message"},  | 
453  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE), | 
454  |  |      "ssl/tls alert unsupported certificate"},  | 
455  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_COMMAND_SECTION_EMPTY), | 
456  |  |      "ssl command section empty"},  | 
457  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_COMMAND_SECTION_NOT_FOUND), | 
458  |  |      "ssl command section not found"},  | 
459  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION), | 
460  |  |      "ssl ctx has no default ssl version"},  | 
461  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_HANDSHAKE_FAILURE), | 
462  |  |      "ssl handshake failure"},  | 
463  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS), | 
464  |  |      "ssl library has no ciphers"},  | 
465  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_NEGATIVE_LENGTH), | 
466  |  |      "ssl negative length"},  | 
467  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SECTION_EMPTY), "ssl section empty"}, | 
468  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SECTION_NOT_FOUND), | 
469  |  |      "ssl section not found"},  | 
470  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_ID_CALLBACK_FAILED), | 
471  |  |      "ssl session id callback failed"},  | 
472  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_ID_CONFLICT), | 
473  |  |      "ssl session id conflict"},  | 
474  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_ID_CONTEXT_TOO_LONG), | 
475  |  |      "ssl session id context too long"},  | 
476  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_ID_HAS_BAD_LENGTH), | 
477  |  |      "ssl session id has bad length"},  | 
478  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_ID_TOO_LONG), | 
479  |  |      "ssl session id too long"},  | 
480  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_VERSION_MISMATCH), | 
481  |  |      "ssl session version mismatch"},  | 
482  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STILL_IN_INIT), "still in init"}, | 
483  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STREAM_COUNT_LIMITED), | 
484  |  |      "stream count limited"},  | 
485  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STREAM_FINISHED), "stream finished"}, | 
486  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STREAM_RECV_ONLY), "stream recv only"}, | 
487  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STREAM_RESET), "stream reset"}, | 
488  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STREAM_SEND_ONLY), "stream send only"}, | 
489  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED), | 
490  |  |      "tlsv13 alert certificate required"},  | 
491  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV13_ALERT_MISSING_EXTENSION), | 
492  |  |      "tlsv13 alert missing extension"},  | 
493  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_ACCESS_DENIED), | 
494  |  |      "tlsv1 alert access denied"},  | 
495  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_DECODE_ERROR), | 
496  |  |      "tlsv1 alert decode error"},  | 
497  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_DECRYPTION_FAILED), | 
498  |  |      "tlsv1 alert decryption failed"},  | 
499  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_DECRYPT_ERROR), | 
500  |  |      "tlsv1 alert decrypt error"},  | 
501  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_EXPORT_RESTRICTION), | 
502  |  |      "tlsv1 alert export restriction"},  | 
503  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_INAPPROPRIATE_FALLBACK), | 
504  |  |      "tlsv1 alert inappropriate fallback"},  | 
505  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY), | 
506  |  |      "tlsv1 alert insufficient security"},  | 
507  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_INTERNAL_ERROR), | 
508  |  |      "tlsv1 alert internal error"},  | 
509  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_NO_APPLICATION_PROTOCOL), | 
510  |  |      "tlsv1 alert no application protocol"},  | 
511  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_NO_RENEGOTIATION), | 
512  |  |      "tlsv1 alert no renegotiation"},  | 
513  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_PROTOCOL_VERSION), | 
514  |  |      "tlsv1 alert protocol version"},  | 
515  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_RECORD_OVERFLOW), | 
516  |  |      "tlsv1 alert record overflow"},  | 
517  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_UNKNOWN_CA), | 
518  |  |      "tlsv1 alert unknown ca"},  | 
519  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_UNKNOWN_PSK_IDENTITY), | 
520  |  |      "tlsv1 alert unknown psk identity"},  | 
521  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_ALERT_USER_CANCELLED), | 
522  |  |      "tlsv1 alert user cancelled"},  | 
523  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE), | 
524  |  |      "tlsv1 bad certificate hash value"},  | 
525  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE), | 
526  |  |      "tlsv1 bad certificate status response"},  | 
527  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE), | 
528  |  |      "tlsv1 certificate unobtainable"},  | 
529  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_UNRECOGNIZED_NAME), | 
530  |  |      "tlsv1 unrecognized name"},  | 
531  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV1_UNSUPPORTED_EXTENSION), | 
532  |  |      "tlsv1 unsupported extension"},  | 
533  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLS_ILLEGAL_EXPORTER_LABEL), | 
534  |  |      "tls illegal exporter label"},  | 
535  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLS_INVALID_ECPOINTFORMAT_LIST), | 
536  |  |      "tls invalid ecpointformat list"},  | 
537  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TOO_MANY_KEY_UPDATES), | 
538  |  |      "too many key updates"},  | 
539  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TOO_MANY_WARN_ALERTS), | 
540  |  |      "too many warn alerts"},  | 
541  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TOO_MUCH_EARLY_DATA), | 
542  |  |      "too much early data"},  | 
543  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNABLE_TO_FIND_ECDH_PARAMETERS), | 
544  |  |      "unable to find ecdh parameters"},  | 
545  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNABLE_TO_FIND_PUBLIC_KEY_PARAMETERS), | 
546  |  |      "unable to find public key parameters"},  | 
547  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNABLE_TO_LOAD_SSL3_MD5_ROUTINES), | 
548  |  |      "unable to load ssl3 md5 routines"},  | 
549  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES), | 
550  |  |      "unable to load ssl3 sha1 routines"},  | 
551  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNEXPECTED_CCS_MESSAGE), | 
552  |  |      "unexpected ccs message"},  | 
553  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNEXPECTED_END_OF_EARLY_DATA), | 
554  |  |      "unexpected end of early data"},  | 
555  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNEXPECTED_EOF_WHILE_READING), | 
556  |  |      "unexpected eof while reading"},  | 
557  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNEXPECTED_MESSAGE), "unexpected message"}, | 
558  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNEXPECTED_RECORD), "unexpected record"}, | 
559  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNINITIALIZED), "uninitialized"}, | 
560  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_ALERT_TYPE), "unknown alert type"}, | 
561  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_CERTIFICATE_TYPE), | 
562  |  |      "unknown certificate type"},  | 
563  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_CIPHER_RETURNED), | 
564  |  |      "unknown cipher returned"},  | 
565  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_CIPHER_TYPE), | 
566  |  |      "unknown cipher type"},  | 
567  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_CMD_NAME), "unknown cmd name"}, | 
568  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_COMMAND), "unknown command"}, | 
569  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_DIGEST), "unknown digest"}, | 
570  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE), | 
571  |  |      "unknown key exchange type"},  | 
572  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_MANDATORY_PARAMETER), | 
573  |  |      "unknown mandatory parameter"},  | 
574  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_PKEY_TYPE), "unknown pkey type"}, | 
575  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_PROTOCOL), "unknown protocol"}, | 
576  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_SSL_VERSION), | 
577  |  |      "unknown ssl version"},  | 
578  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNKNOWN_STATE), "unknown state"}, | 
579  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSAFE_LEGACY_RENEGOTIATION_DISABLED), | 
580  |  |      "unsafe legacy renegotiation disabled"},  | 
581  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSOLICITED_EXTENSION), | 
582  |  |      "unsolicited extension"},  | 
583  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_COMPRESSION_ALGORITHM), | 
584  |  |      "unsupported compression algorithm"},  | 
585  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_CONFIG_VALUE), | 
586  |  |      "unsupported config value"},  | 
587  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_CONFIG_VALUE_CLASS), | 
588  |  |      "unsupported config value class"},  | 
589  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_CONFIG_VALUE_OP), | 
590  |  |      "unsupported config value op"},  | 
591  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_ELLIPTIC_CURVE), | 
592  |  |      "unsupported elliptic curve"},  | 
593  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_PROTOCOL), | 
594  |  |      "unsupported protocol"},  | 
595  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_SSL_VERSION), | 
596  |  |      "unsupported ssl version"},  | 
597  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_STATUS_TYPE), | 
598  |  |      "unsupported status type"},  | 
599  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_UNSUPPORTED_WRITE_FLAG), | 
600  |  |      "unsupported write flag"},  | 
601  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_USE_SRTP_NOT_NEGOTIATED), | 
602  |  |      "use srtp not negotiated"},  | 
603  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_VERSION_TOO_HIGH), "version too high"}, | 
604  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_VERSION_TOO_LOW), "version too low"}, | 
605  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_CERTIFICATE_TYPE), | 
606  |  |      "wrong certificate type"},  | 
607  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_CIPHER_RETURNED), | 
608  |  |      "wrong cipher returned"},  | 
609  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_CURVE), "wrong curve"}, | 
610  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_RPK_TYPE), "wrong rpk type"}, | 
611  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_SIGNATURE_LENGTH), | 
612  |  |      "wrong signature length"},  | 
613  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_SIGNATURE_SIZE), | 
614  |  |      "wrong signature size"},  | 
615  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_SIGNATURE_TYPE), | 
616  |  |      "wrong signature type"},  | 
617  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_SSL_VERSION), "wrong ssl version"}, | 
618  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_WRONG_VERSION_NUMBER), | 
619  |  |      "wrong version number"},  | 
620  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_X509_LIB), "x509 lib"}, | 
621  |  |     {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_X509_VERIFICATION_SETUP_PROBLEMS), | 
622  |  |      "x509 verification setup problems"},  | 
623  |  |     {0, NULL} | 
624  |  | };  | 
625  |  |  | 
626  |  | #endif  | 
627  |  |  | 
628  |  | int ossl_err_load_SSL_strings(void)  | 
629  | 16  | { | 
630  | 16  | #ifndef OPENSSL_NO_ERR  | 
631  | 16  |     if (ERR_reason_error_string(SSL_str_reasons[0].error) == NULL)  | 
632  | 16  |         ERR_load_strings_const(SSL_str_reasons);  | 
633  | 16  | #endif  | 
634  | 16  |     return 1;  | 
635  | 16  | }  |