Debian Codegraph @

templates/man3/SSL_get_error.3ssl.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 # #-#-#-#-# archlinux: SSL_get_error.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: SSL_get_error.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: SSL_get_error.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: SSL_get_error.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
29 #. ========================================================================
30 #. type: IX
31 #: archlinux debian-trixie debian-unstable
32 #, no-wrap
33 msgid "Title"
34 msgstr ""
35
36 #
37 #. Required to disable full justification in groff 1.23.0.
38 #. ========================================================================
39 #. type: IX
40 #: archlinux
41 #, no-wrap
42 msgid "SSL_GET_ERROR 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_GET_ERROR"
49 msgstr ""
50
51 #. type: TH
52 #: archlinux debian-trixie debian-unstable
53 #, no-wrap
54 msgid "2026-04-07"
55 msgstr ""
56
57 #. type: TH
58 #: archlinux debian-unstable
59 #, no-wrap
60 msgid "3.6.2"
61 msgstr ""
62
63 #. type: TH
64 #: archlinux debian-trixie debian-unstable
65 #, no-wrap
66 msgid "OpenSSL"
67 msgstr ""
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable
71 #, no-wrap
72 msgid "NAME"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable
77 msgid "SSL_get_error - obtain result code for TLS/SSL I/O operation"
78 msgstr ""
79
80 #. type: IX
81 #: archlinux debian-trixie debian-unstable
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr ""
85
86 #. type: IX
87 #: archlinux debian-trixie debian-unstable
88 #, no-wrap
89 msgid "Header"
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable
94 #, no-wrap
95 msgid ""
96 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
97 "\\&\n"
98 "\\& int SSL_get_error(const SSL *ssl, int ret);\n"
99 msgstr ""
100
101 #. type: IX
102 #: archlinux debian-trixie debian-unstable
103 #, no-wrap
104 msgid "DESCRIPTION"
105 msgstr ""
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable
109 msgid ""
110 "\\&B<SSL_get_error()> returns a result code (suitable for the C \"switch\" "
111 "statement) for a preceding call to B<SSL_connect()>, B<SSL_accept()>, "
112 "B<SSL_do_handshake()>, \\&B<SSL_read_ex()>, B<SSL_read()>, B<SSL_peek_ex()>, "
113 "B<SSL_peek()>, B<SSL_shutdown()>, \\&B<SSL_write_ex()> or B<SSL_write()> on "
114 "B<ssl>. The value returned by that TLS/SSL I/O function must be passed to "
115 "B<SSL_get_error()> in parameter B<ret>."
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux
120 msgid ""
121 "In addition to B<ssl> and B<ret>, B<SSL_get_error()> inspects the current "
122 "thread\\*(Aqs OpenSSL error queue. Thus, B<SSL_get_error()> must be used in "
123 "the same thread that performed the TLS/SSL I/O operation, and no other "
124 "OpenSSL function calls should appear in between. The current thread\\*(Aqs "
125 "error queue must be empty before the TLS/SSL I/O operation is attempted, or "
126 "B<SSL_get_error()> will not work reliably. Emptying the current "
127 "thread\\*(Aqs error queue is done with B<ERR_clear_error>\\|(3)."
128 msgstr ""
129
130 #. type: IX
131 #: archlinux debian-trixie debian-unstable
132 #, no-wrap
133 msgid "NOTES"
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable
138 msgid "Some TLS implementations do not send a close_notify alert on shutdown."
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable
143 msgid ""
144 "On an unexpected EOF, versions before OpenSSL 3.0 returned "
145 "\\&B<SSL_ERROR_SYSCALL>, nothing was added to the error stack, and errno was "
146 "0. Since OpenSSL 3.0 the returned error is B<SSL_ERROR_SSL> with a "
147 "meaningful error on the error stack (SSL_R_UNEXPECTED_EOF_WHILE_READING). "
148 "This error reason code may be used for control flow decisions (see the man "
149 "page for \\&B<ERR_GET_REASON>\\|(3) for further details on this)."
150 msgstr ""
151
152 #. type: IX
153 #: archlinux debian-trixie debian-unstable
154 #, no-wrap
155 msgid "RETURN VALUES"
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable
160 msgid "The following return values can currently occur:"
161 msgstr ""
162
163 #. type: IX
164 #: archlinux debian-trixie debian-unstable
165 #, no-wrap
166 msgid "SSL_ERROR_NONE"
167 msgstr ""
168
169 #. type: IX
170 #: archlinux debian-trixie debian-unstable
171 #, no-wrap
172 msgid "Item"
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable
177 msgid ""
178 "The TLS/SSL I/O operation completed. This result code is returned if and "
179 "only if B<ret E<gt> 0>."
180 msgstr ""
181
182 #. type: IX
183 #: archlinux debian-trixie debian-unstable
184 #, no-wrap
185 msgid "SSL_ERROR_ZERO_RETURN"
186 msgstr ""
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable
190 msgid ""
191 "The TLS/SSL peer has closed the connection for writing by sending the "
192 "close_notify alert. No more data can be read. Note that "
193 "B<SSL_ERROR_ZERO_RETURN> does not necessarily indicate that the underlying "
194 "transport has been closed."
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable
199 msgid ""
200 "This error can also appear when the option B<SSL_OP_IGNORE_UNEXPECTED_EOF> "
201 "is set. See B<SSL_CTX_set_options>\\|(3) for more details."
202 msgstr ""
203
204 #. type: IX
205 #: archlinux debian-trixie debian-unstable
206 #, no-wrap
207 msgid "SSL_ERROR_WANT_READ, SSL_ERROR_WANT_WRITE"
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable
212 msgid "The operation did not complete and can be retried later."
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable
217 msgid ""
218 "For non-QUIC SSL objects, B<SSL_ERROR_WANT_READ> is returned when the last "
219 "operation was a read operation from a nonblocking B<BIO>. It means that not "
220 "enough data was available at this time to complete the operation. If at a "
221 "later time the underlying B<BIO> has data available for reading the same "
222 "function can be called again."
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable
227 msgid ""
228 "\\&B<SSL_read()> and B<SSL_read_ex()> can also set B<SSL_ERROR_WANT_READ> "
229 "when there is still unprocessed data available at either the B<SSL> or the "
230 "B<BIO> layer, even for a blocking B<BIO>. See B<SSL_read>\\|(3) for more "
231 "information."
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable
236 msgid ""
237 "For non-QUIC SSL objects, B<SSL_ERROR_WANT_WRITE> is returned when the last "
238 "operation was a write to a nonblocking B<BIO> and it was unable to send all "
239 "data to the B<BIO>. When the B<BIO> is writable again, the same function can "
240 "be called again."
241 msgstr ""
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable
245 msgid ""
246 "Note that the retry may again lead to an B<SSL_ERROR_WANT_READ> or "
247 "\\&B<SSL_ERROR_WANT_WRITE> condition. There is no fixed upper limit for the "
248 "number of iterations that may be necessary until progress becomes visible at "
249 "application protocol level."
250 msgstr ""
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable
254 msgid ""
255 "For QUIC SSL objects, the meaning of B<SSL_ERROR_WANT_READ> and "
256 "\\&B<SSL_ERROR_WANT_WRITE> have different but largely compatible semantics. "
257 "Since QUIC implements its own flow control and uses UDP datagrams, "
258 "backpressure conditions in terms of the underlying BIO providing network I/O "
259 "are not directly relevant to the circumstances in which these errors are "
260 "produced. In particular, \\&B<SSL_ERROR_WANT_WRITE> indicates that the "
261 "OpenSSL internal send buffer for a given QUIC stream has been filled. "
262 "Likewise, B<SSL_ERROR_WANT_READ> indicates that the OpenSSL internal receive "
263 "buffer for a given QUIC stream is empty."
264 msgstr ""
265
266 #. type: Plain text
267 #: archlinux debian-trixie debian-unstable
268 msgid ""
269 "It is safe to call B<SSL_read()> or B<SSL_read_ex()> when more data is "
270 "available even when the call that set this error was an B<SSL_write()> or "
271 "B<SSL_write_ex()>. However, if the call was an B<SSL_write()> or "
272 "B<SSL_write_ex()>, it should be called again to continue sending the "
273 "application data. If you get B<SSL_ERROR_WANT_WRITE> from B<SSL_write()> or "
274 "B<SSL_write_ex()> then you should not do any other operation that could "
275 "trigger B<IO> other than to repeat the previous B<SSL_write()> call."
276 msgstr ""
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable
280 msgid ""
281 "For socket B<BIO>s (e.g. when B<SSL_set_fd()> was used), B<select()> or "
282 "\\&B<poll()> on the underlying socket can be used to find out when the TLS/"
283 "SSL I/O function should be retried."
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable
288 msgid ""
289 "Caveat: Any TLS/SSL I/O function can lead to either of "
290 "\\&B<SSL_ERROR_WANT_READ> and B<SSL_ERROR_WANT_WRITE>. In particular, "
291 "\\&B<SSL_read_ex()>, B<SSL_read()>, B<SSL_peek_ex()>, or B<SSL_peek()> may "
292 "want to write data and B<SSL_write()> or B<SSL_write_ex()> may want to read "
293 "data. This is mainly because TLS/SSL handshakes may occur at any time "
294 "during the protocol (initiated by either the client or the server); "
295 "B<SSL_read_ex()>, B<SSL_read()>, B<SSL_peek_ex()>, \\&B<SSL_peek()>, "
296 "B<SSL_write_ex()>, and B<SSL_write()> will handle any pending handshakes."
297 msgstr ""
298
299 #. type: IX
300 #: archlinux debian-trixie debian-unstable
301 #, no-wrap
302 msgid "SSL_ERROR_WANT_CONNECT, SSL_ERROR_WANT_ACCEPT"
303 msgstr ""
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable
307 msgid ""
308 "The operation did not complete; the same TLS/SSL I/O function should be "
309 "called again later. The underlying BIO was not connected yet to the peer and "
310 "the call would block in B<connect()>/B<accept()>. The SSL function should be "
311 "called again when the connection is established. These messages can only "
312 "appear with a B<BIO_s_connect()> or B<BIO_s_accept()> BIO, respectively. In "
313 "order to find out, when the connection has been successfully established, on "
314 "many platforms B<select()> or B<poll()> for writing on the socket file "
315 "descriptor can be used."
316 msgstr ""
317
318 #. type: IX
319 #: archlinux debian-trixie debian-unstable
320 #, no-wrap
321 msgid "SSL_ERROR_WANT_X509_LOOKUP"
322 msgstr ""
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable
326 msgid ""
327 "The operation did not complete because an application callback set by "
328 "\\&B<SSL_CTX_set_client_cert_cb()> has asked to be called again. The TLS/"
329 "SSL I/O function should be called again later. Details depend on the "
330 "application."
331 msgstr ""
332
333 #. type: IX
334 #: archlinux debian-trixie debian-unstable
335 #, no-wrap
336 msgid "SSL_ERROR_WANT_ASYNC"
337 msgstr ""
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable
341 msgid ""
342 "The operation did not complete because an asynchronous engine is still "
343 "processing data. This will only occur if the mode has been set to "
344 "SSL_MODE_ASYNC using B<SSL_CTX_set_mode>\\|(3) or B<SSL_set_mode>\\|(3) and "
345 "an asynchronous capable engine is being used. An application can determine "
346 "whether the engine has completed its processing using B<select()> or "
347 "B<poll()> on the asynchronous wait file descriptor. This file descriptor is "
348 "available by calling \\&B<SSL_get_all_async_fds>\\|(3) or "
349 "B<SSL_get_changed_async_fds>\\|(3). The TLS/SSL I/O function should be "
350 "called again later. The function B<must> be called from the same thread that "
351 "the original call was made from."
352 msgstr ""
353
354 #. type: IX
355 #: archlinux debian-trixie debian-unstable
356 #, no-wrap
357 msgid "SSL_ERROR_WANT_ASYNC_JOB"
358 msgstr ""
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable
362 msgid ""
363 "The asynchronous job could not be started because there were no async jobs "
364 "available in the pool (see B<ASYNC_init_thread>\\|(3)). This will only occur "
365 "if the mode has been set to SSL_MODE_ASYNC using B<SSL_CTX_set_mode>\\|(3) "
366 "or \\&B<SSL_set_mode>\\|(3) and a maximum limit has been set on the async "
367 "job pool through a call to B<ASYNC_init_thread>\\|(3). The application "
368 "should retry the operation after a currently executing asynchronous "
369 "operation for the current thread has completed."
370 msgstr ""
371
372 #. type: IX
373 #: archlinux debian-trixie debian-unstable
374 #, no-wrap
375 msgid "SSL_ERROR_WANT_CLIENT_HELLO_CB"
376 msgstr ""
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable
380 msgid ""
381 "The operation did not complete because an application callback set by "
382 "\\&B<SSL_CTX_set_client_hello_cb()> has asked to be called again. The TLS/"
383 "SSL I/O function should be called again later. Details depend on the "
384 "application."
385 msgstr ""
386
387 #. type: IX
388 #: archlinux debian-trixie debian-unstable
389 #, no-wrap
390 msgid "SSL_ERROR_SYSCALL"
391 msgstr ""
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable
395 msgid ""
396 "Some non-recoverable, fatal I/O error occurred. The OpenSSL error queue may "
397 "contain more information on the error. For socket I/O on Unix systems, "
398 "consult \\&B<errno> for details. If this error occurs then no further I/O "
399 "operations should be performed on the connection and B<SSL_shutdown()> must "
400 "not be called."
401 msgstr ""
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable
405 msgid ""
406 "This value can also be returned for other errors, check the error queue for "
407 "details."
408 msgstr ""
409
410 #. type: IX
411 #: archlinux debian-trixie debian-unstable
412 #, no-wrap
413 msgid "SSL_ERROR_SSL"
414 msgstr ""
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable
418 msgid ""
419 "A non-recoverable, fatal error in the SSL library occurred, usually a "
420 "protocol error. The OpenSSL error queue contains more information on the "
421 "error. If this error occurs then no further I/O operations should be "
422 "performed on the connection and B<SSL_shutdown()> must not be called."
423 msgstr ""
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable
427 msgid ""
428 "The OpenSSL error queue can be inspected with the B<ERR> family of "
429 "functions, such as B<ERR_print_errors>\\|(3) and "
430 "B<ERR_peek_last_error_all>\\|(3)."
431 msgstr ""
432
433 #. type: IX
434 #: archlinux debian-trixie debian-unstable
435 #, no-wrap
436 msgid "SEE ALSO"
437 msgstr ""
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable
441 msgid ""
442 "\\&B<ssl>\\|(7), \\&B<ERR_clear_error>\\|(3), B<ERR_print_errors>\\|(3), "
443 "B<ERR_peek_last_error_all>\\|(3)"
444 msgstr ""
445
446 #. type: IX
447 #: archlinux debian-trixie debian-unstable
448 #, no-wrap
449 msgid "HISTORY"
450 msgstr ""
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable
454 msgid ""
455 "The SSL_ERROR_WANT_ASYNC error code was added in OpenSSL 1.1.0. The "
456 "SSL_ERROR_WANT_CLIENT_HELLO_CB error code was added in OpenSSL 1.1.1."
457 msgstr ""
458
459 #. type: IX
460 #: archlinux debian-trixie debian-unstable
461 #, no-wrap
462 msgid "COPYRIGHT"
463 msgstr ""
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable
467 msgid "Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved."
468 msgstr ""
469
470 #. type: Plain text
471 #: archlinux debian-trixie debian-unstable
472 msgid ""
473 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
474 "this file except in compliance with the License. You can obtain a copy in "
475 "the file LICENSE in the source distribution or at E<lt>https://"
476 "www.openssl.org/source/license.htmlE<gt>."
477 msgstr ""
478
479 #. ========================================================================
480 #. type: IX
481 #: debian-trixie debian-unstable
482 #, no-wrap
483 msgid "SSL_GET_ERROR 3SSL"
484 msgstr ""
485
486 #. type: TH
487 #: debian-trixie
488 #, no-wrap
489 msgid "3.5.6"
490 msgstr ""
491
492 #. type: Plain text
493 #: debian-trixie debian-unstable
494 msgid ""
495 "In addition to B<ssl> and B<ret>, B<SSL_get_error()> inspects the current "
496 "thread's OpenSSL error queue. Thus, B<SSL_get_error()> must be used in the "
497 "same thread that performed the TLS/SSL I/O operation, and no other OpenSSL "
498 "function calls should appear in between. The current thread's error queue "
499 "must be empty before the TLS/SSL I/O operation is attempted, or "
500 "B<SSL_get_error()> will not work reliably. Emptying the current thread's "
501 "error queue is done with B<ERR_clear_error>\\|(3)."
502 msgstr ""