blob: f3bc5d37ab9b6f83dd77a3f085633d4848defbba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
|
/* Error codes for the SSL functions. */
/* Function codes. */
#define SSL_F_CLIENT_CERTIFICATE 100
#define SSL_F_CLIENT_HELLO 101
#define SSL_F_CLIENT_MASTER_KEY 102
#define SSL_F_D2I_SSL_SESSION 103
#define SSL_F_DO_SSL3_WRITE 104
#define SSL_F_GET_CLIENT_FINISHED 105
#define SSL_F_GET_CLIENT_HELLO 106
#define SSL_F_GET_CLIENT_MASTER_KEY 107
#define SSL_F_GET_SERVER_FINISHED 108
#define SSL_F_GET_SERVER_HELLO 109
#define SSL_F_GET_SERVER_VERIFY 110
#define SSL_F_I2D_SSL_SESSION 111
#define SSL_F_READ_N 112
#define SSL_F_REQUEST_CERTIFICATE 113
#define SSL_F_SERVER_HELLO 114
#define SSL_F_SSL23_ACCEPT 115
#define SSL_F_SSL23_CLIENT_HELLO 116
#define SSL_F_SSL23_CONNECT 117
#define SSL_F_SSL23_GET_CLIENT_HELLO 118
#define SSL_F_SSL23_GET_SERVER_HELLO 119
#define SSL_F_SSL23_READ 120
#define SSL_F_SSL23_WRITE 121
#define SSL_F_SSL2_ACCEPT 122
#define SSL_F_SSL2_CONNECT 123
#define SSL_F_SSL2_ENC_INIT 124
#define SSL_F_SSL2_READ 125
#define SSL_F_SSL2_SET_CERTIFICATE 126
#define SSL_F_SSL2_WRITE 127
#define SSL_F_SSL3_ACCEPT 128
#define SSL_F_SSL3_CHANGE_CIPHER_STATE 129
#define SSL_F_SSL3_CHECK_CERT_AND_ALGORITHM 130
#define SSL_F_SSL3_CLIENT_HELLO 131
#define SSL_F_SSL3_CONNECT 132
#define SSL_F_SSL3_CTX_CTRL 133
#define SSL_F_SSL3_ENC 134
#define SSL_F_SSL3_GET_CERTIFICATE_REQUEST 135
#define SSL_F_SSL3_GET_CERT_VERIFY 136
#define SSL_F_SSL3_GET_CLIENT_CERTIFICATE 137
#define SSL_F_SSL3_GET_CLIENT_HELLO 138
#define SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE 139
#define SSL_F_SSL3_GET_FINISHED 140
#define SSL_F_SSL3_GET_KEY_EXCHANGE 141
#define SSL_F_SSL3_GET_MESSAGE 142
#define SSL_F_SSL3_GET_RECORD 143
#define SSL_F_SSL3_GET_SERVER_CERTIFICATE 144
#define SSL_F_SSL3_GET_SERVER_DONE 145
#define SSL_F_SSL3_GET_SERVER_HELLO 146
#define SSL_F_SSL3_OUTPUT_CERT_CHAIN 147
#define SSL_F_SSL3_READ_BYTES 148
#define SSL_F_SSL3_READ_N 149
#define SSL_F_SSL3_SEND_CERTIFICATE_REQUEST 150
#define SSL_F_SSL3_SEND_CLIENT_CERTIFICATE 151
#define SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE 152
#define SSL_F_SSL3_SEND_CLIENT_VERIFY 153
#define SSL_F_SSL3_SEND_SERVER_CERTIFICATE 154
#define SSL_F_SSL3_SEND_SERVER_KEY_EXCHANGE 155
#define SSL_F_SSL3_SETUP_BUFFERS 156
#define SSL_F_SSL3_SETUP_KEY_BLOCK 157
#define SSL_F_SSL3_WRITE_BYTES 158
#define SSL_F_SSL3_WRITE_PENDING 159
#define SSL_F_SSL_BAD_METHOD 160
#define SSL_F_SSL_BYTES_TO_CIPHER_LIST 161
#define SSL_F_SSL_CERT_NEW 162
#define SSL_F_SSL_CHECK_PRIVATE_KEY 163
#define SSL_F_SSL_CREATE_CIPHER_LIST 164
#define SSL_F_SSL_CTX_CHECK_PRIVATE_KEY 165
#define SSL_F_SSL_CTX_NEW 166
#define SSL_F_SSL_CTX_SET_SSL_VERSION 167
#define SSL_F_SSL_CTX_USE_CERTIFICATE 168
#define SSL_F_SSL_CTX_USE_CERTIFICATE_ASN1 169
#define SSL_F_SSL_CTX_USE_CERTIFICATE_FILE 170
#define SSL_F_SSL_CTX_USE_PRIVATEKEY 171
#define SSL_F_SSL_CTX_USE_PRIVATEKEY_ASN1 172
#define SSL_F_SSL_CTX_USE_PRIVATEKEY_FILE 173
#define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY 174
#define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_ASN1 175
#define SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE 176
#define SSL_F_SSL_DO_HANDSHAKE 177
#define SSL_F_SSL_GET_NEW_SESSION 178
#define SSL_F_SSL_GET_SERVER_SEND_CERT 179
#define SSL_F_SSL_GET_SIGN_PKEY 180
#define SSL_F_SSL_LOAD_CLIENT_CA_FILE 181
#define SSL_F_SSL_NEW 182
#define SSL_F_SSL_RSA_PRIVATE_DECRYPT 183
#define SSL_F_SSL_RSA_PUBLIC_ENCRYPT 184
#define SSL_F_SSL_SESSION_NEW 185
#define SSL_F_SSL_SESSION_PRINT_FP 186
#define SSL_F_SSL_SET_FD 187
#define SSL_F_SSL_SET_PKEY 188
#define SSL_F_SSL_SET_RFD 189
#define SSL_F_SSL_SET_SESSION 190
#define SSL_F_SSL_SET_WFD 191
#define SSL_F_SSL_UNDEFINED_FUNCTION 192
#define SSL_F_SSL_USE_CERTIFICATE 193
#define SSL_F_SSL_USE_CERTIFICATE_ASN1 194
#define SSL_F_SSL_USE_CERTIFICATE_FILE 195
#define SSL_F_SSL_USE_PRIVATEKEY 196
#define SSL_F_SSL_USE_PRIVATEKEY_ASN1 197
#define SSL_F_SSL_USE_PRIVATEKEY_FILE 198
#define SSL_F_SSL_USE_RSAPRIVATEKEY 199
#define SSL_F_SSL_USE_RSAPRIVATEKEY_ASN1 200
#define SSL_F_SSL_USE_RSAPRIVATEKEY_FILE 201
#define SSL_F_SSL_WRITE 202
#define SSL_F_WRITE_PENDING 203
/* Reason codes. */
#define SSL_R_APP_DATA_IN_HANDSHAKE 100
#define SSL_R_BAD_ALERT_RECORD 101
#define SSL_R_BAD_AUTHENTICATION_TYPE 102
#define SSL_R_BAD_CHANGE_CIPHER_SPEC 103
#define SSL_R_BAD_CHECKSUM 104
#define SSL_R_BAD_CLIENT_REQUEST 105
#define SSL_R_BAD_DATA_RETURNED_BY_CALLBACK 106
#define SSL_R_BAD_DECOMPRESSION 107
#define SSL_R_BAD_DH_G_LENGTH 108
#define SSL_R_BAD_DH_PUB_KEY_LENGTH 109
#define SSL_R_BAD_DH_P_LENGTH 110
#define SSL_R_BAD_DIGEST_LENGTH 111
#define SSL_R_BAD_DSA_SIGNATURE 112
#define SSL_R_BAD_MAC_DECODE 113
#define SSL_R_BAD_MESSAGE_TYPE 114
#define SSL_R_BAD_PACKET_LENGTH 115
#define SSL_R_BAD_RESPONSE_ARGUMENT 116
#define SSL_R_BAD_RSA_DECRYPT 117
#define SSL_R_BAD_RSA_ENCRYPT 118
#define SSL_R_BAD_RSA_E_LENGTH 119
#define SSL_R_BAD_RSA_MODULUS_LENGTH 120
#define SSL_R_BAD_RSA_SIGNATURE 121
#define SSL_R_BAD_SIGNATURE 122
#define SSL_R_BAD_SSL_FILETYPE 123
#define SSL_R_BAD_SSL_SESSION_ID_LENGTH 124
#define SSL_R_BAD_STATE 125
#define SSL_R_BAD_WRITE_RETRY 126
#define SSL_R_BIO_NOT_SET 127
#define SSL_R_BLOCK_CIPHER_PAD_IS_WRONG 128
#define SSL_R_BN_LIB 129
#define SSL_R_CA_DN_LENGTH_MISMATCH 130
#define SSL_R_CA_DN_TOO_LONG 131
#define SSL_R_CCS_RECEIVED_EARLY 132
#define SSL_R_CERTIFICATE_VERIFY_FAILED 133
#define SSL_R_CERT_LENGTH_MISMATCH 134
#define SSL_R_CHALLENGE_IS_DIFFERENT 135
#define SSL_R_CIPHER_CODE_WRONG_LENGTH 136
#define SSL_R_CIPHER_OR_HASH_UNAVAILABLE 137
#define SSL_R_CIPHER_TABLE_SRC_ERROR 138
#define SSL_R_COMPRESSED_LENGTH_TOO_LONG 139
#define SSL_R_COMPRESSION_FAILURE 140
#define SSL_R_CONNECTION_ID_IS_DIFFERENT 141
#define SSL_R_DATA_BETWEEN_CCS_AND_FINISHED 142
#define SSL_R_DATA_LENGTH_TOO_LONG 143
#define SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG 144
#define SSL_R_DIGEST_CHECK_FAILED 145
#define SSL_R_ENCRYPTED_LENGTH_TOO_LONG 146
#define SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST 147
#define SSL_R_EXCESSIVE_MESSAGE_SIZE 148
#define SSL_R_EXTRA_DATA_IN_MESSAGE 149
#define SSL_R_GOT_A_FIN_BEFORE_A_CCS 150
#define SSL_R_INTERNAL_ERROR 151
#define SSL_R_INVALID_CHALLENGE_LENGTH 152
#define SSL_R_LENGTH_MISMATCH 153
#define SSL_R_LENGTH_TOO_SHORT 154
#define SSL_R_LIBRARY_HAS_NO_CIPHERS 155
#define SSL_R_MISSING_DH_DSA_CERT 156
#define SSL_R_MISSING_DH_KEY 157
#define SSL_R_MISSING_DH_RSA_CERT 158
#define SSL_R_MISSING_DSA_SIGNING_CERT 159
#define SSL_R_MISSING_EXPORT_TMP_DH_KEY 160
#define SSL_R_MISSING_EXPORT_TMP_RSA_KEY 161
#define SSL_R_MISSING_RSA_CERTIFICATE 162
#define SSL_R_MISSING_RSA_ENCRYPTING_CERT 163
#define SSL_R_MISSING_RSA_SIGNING_CERT 164
#define SSL_R_MISSING_TMP_DH_KEY 165
#define SSL_R_MISSING_TMP_RSA_KEY 166
#define SSL_R_MISSING_TMP_RSA_PKEY 167
#define SSL_R_MISSING_VERIFY_MESSAGE 168
#define SSL_R_NON_SSLV2_INITIAL_PACKET 169
#define SSL_R_NO_CERTIFICATES_PASSED 170
#define SSL_R_NO_CERTIFICATE_ASSIGNED 171
#define SSL_R_NO_CERTIFICATE_RETURNED 172
#define SSL_R_NO_CERTIFICATE_SET 173
#define SSL_R_NO_CERTIFICATE_SPECIFIED 174
#define SSL_R_NO_CIPHERS_AVAILABLE 175
#define SSL_R_NO_CIPHERS_PASSED 176
#define SSL_R_NO_CIPHERS_SPECIFIED 177
#define SSL_R_NO_CIPHER_LIST 178
#define SSL_R_NO_CIPHER_MATCH 179
#define SSL_R_NO_CLIENT_CERT_RECEIVED 180
#define SSL_R_NO_COMPRESSION_SPECIFIED 181
#define SSL_R_NO_PRIVATEKEY 182
#define SSL_R_NO_PRIVATE_KEY_ASSIGNED 183
#define SSL_R_NO_PUBLICKEY 184
#define SSL_R_NO_SHARED_CIPHER 185
#define SSL_R_NULL_SSL_CTX 186
#define SSL_R_NULL_SSL_METHOD_PASSED 187
#define SSL_R_OLD_SESSION_CIPHER_NOT_RETURNED 188
#define SSL_R_PACKET_LENGTH_TOO_LONG 189
#define SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE 190
#define SSL_R_PEER_ERROR 191
#define SSL_R_PEER_ERROR_CERTIFICATE 192
#define SSL_R_PEER_ERROR_NO_CERTIFICATE 193
#define SSL_R_PEER_ERROR_NO_CIPHER 194
#define SSL_R_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE 195
#define SSL_R_PRE_MAC_LENGTH_TOO_LONG 196
#define SSL_R_PROBLEMS_MAPPING_CIPHER_FUNCTIONS 197
#define SSL_R_PROTOCOL_IS_SHUTDOWN 198
#define SSL_R_PUBLIC_KEY_ENCRYPT_ERROR 199
#define SSL_R_PUBLIC_KEY_IS_NOT_RSA 200
#define SSL_R_PUBLIC_KEY_NOT_RSA 201
#define SSL_R_READ_BIO_NOT_SET 202
#define SSL_R_READ_WRONG_PACKET_TYPE 203
#define SSL_R_RECORD_LENGTH_MISMATCH 204
#define SSL_R_RECORD_TOO_LARGE 205
#define SSL_R_REQUIRED_CIPHER_MISSING 206
#define SSL_R_REUSE_CERT_LENGTH_NOT_ZERO 207
#define SSL_R_REUSE_CERT_TYPE_NOT_ZERO 208
#define SSL_R_REUSE_CIPHER_LIST_NOT_ZERO 209
#define SSL_R_SHORT_READ 210
#define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE 211
#define SSL_R_SSL3_SESSION_ID_TOO_SHORT 212
#define SSL_R_SSLV3_ALERT_BAD_CERTIFICATE 1042
#define SSL_R_SSLV3_ALERT_BAD_RECORD_MAC 1020
#define SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED 1045
#define SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED 1044
#define SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN 1046
#define SSL_R_SSLV3_ALERT_DECOMPRESSION_FAILURE 1030
#define SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE 1040
#define SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER 1047
#define SSL_R_SSLV3_ALERT_NO_CERTIFICATE 1041
#define SSL_R_SSLV3_ALERT_PEER_ERROR_CERTIFICATE 213
#define SSL_R_SSLV3_ALERT_PEER_ERROR_NO_CERTIFICATE 214
#define SSL_R_SSLV3_ALERT_PEER_ERROR_NO_CIPHER 215
#define SSL_R_SSLV3_ALERT_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE 216
#define SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE 1010
#define SSL_R_SSLV3_ALERT_UNKNOWN_REMOTE_ERROR_TYPE 217
#define SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE 1043
#define SSL_R_SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION 218
#define SSL_R_SSL_HANDSHAKE_FAILURE 219
#define SSL_R_SSL_LIBRARY_HAS_NO_CIPHERS 220
#define SSL_R_SSL_SESSION_ID_IS_DIFFERENT 221
#define SSL_R_TRIED_TO_USE_UNSUPPORTED_CIPHER 222
#define SSL_R_UNABLE_TO_DECODE_DH_CERTS 223
#define SSL_R_UNABLE_TO_EXTRACT_PUBLIC_KEY 224
#define SSL_R_UNABLE_TO_FIND_DH_PARAMETERS 225
#define SSL_R_UNABLE_TO_FIND_PUBLIC_KEY_PARAMETERS 226
#define SSL_R_UNABLE_TO_FIND_SSL_METHOD 227
#define SSL_R_UNEXPECTED_MESSAGE 228
#define SSL_R_UNEXPECTED_RECORD 229
#define SSL_R_UNKNOWN_ALERT_TYPE 230
#define SSL_R_UNKNOWN_CERTIFICATE_TYPE 231
#define SSL_R_UNKNOWN_CIPHER_RETURNED 232
#define SSL_R_UNKNOWN_CIPHER_TYPE 233
#define SSL_R_UNKNOWN_KEY_EXCHANGE_TYPE 234
#define SSL_R_UNKNOWN_PKEY_TYPE 235
#define SSL_R_UNKNOWN_PROTOCOL 236
#define SSL_R_UNKNOWN_REMOTE_ERROR_TYPE 237
#define SSL_R_UNKNOWN_SSL_VERSION 238
#define SSL_R_UNKNOWN_STATE 239
#define SSL_R_UNSUPPORTED_CIPHER 240
#define SSL_R_UNSUPPORTED_COMPRESSION_ALGORITHM 241
#define SSL_R_UNSUPPORTED_SSL_VERSION 242
#define SSL_R_WRITE_BIO_NOT_SET 243
#define SSL_R_WRONG_CIPHER_RETURNED 244
#define SSL_R_WRONG_MESSAGE_TYPE 245
#define SSL_R_WRONG_NUMBER_OF_KEY_BITS 246
#define SSL_R_WRONG_SIGNATURE_LENGTH 247
#define SSL_R_WRONG_SIGNATURE_SIZE 248
#define SSL_R_WRONG_SSL_VERSION 249
#define SSL_R_WRONG_VERSION_NUMBER 250
#define SSL_R_X509_LIB 251
|