Debian Codegraph @

templates/man3/ERR_put_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:23+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: ERR_put_error.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: ERR_put_error.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: ERR_put_error.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: ERR_put_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 "ERR_PUT_ERROR 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "ERR_PUT_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 ""
78 "ERR_raise, ERR_raise_data, ERR_put_error, ERR_add_error_data, "
79 "ERR_add_error_vdata, ERR_add_error_txt, ERR_add_error_mem_bio \\&- record an "
80 "error"
81 msgstr ""
82
83 #. type: IX
84 #: archlinux debian-trixie debian-unstable
85 #, no-wrap
86 msgid "SYNOPSIS"
87 msgstr ""
88
89 #. type: IX
90 #: archlinux debian-trixie debian-unstable
91 #, no-wrap
92 msgid "Header"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable
97 #, no-wrap
98 msgid ""
99 "\\& #include E<lt>openssl/err.hE<gt>\n"
100 "\\&\n"
101 "\\& void ERR_raise(int lib, int reason);\n"
102 "\\& void ERR_raise_data(int lib, int reason, const char *fmt, ...);\n"
103 "\\&\n"
104 "\\& void ERR_add_error_data(int num, ...);\n"
105 "\\& void ERR_add_error_vdata(int num, va_list arg);\n"
106 "\\& void ERR_add_error_txt(const char *sep, const char *txt);\n"
107 "\\& void ERR_add_error_mem_bio(const char *sep, BIO *bio);\n"
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable
112 msgid ""
113 "The following function has been deprecated since OpenSSL 3.0, and can be "
114 "hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version "
115 "value, see B<openssl_user_macros>\\|(7):"
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable
120 #, no-wrap
121 msgid "\\& void ERR_put_error(int lib, int func, int reason, const char *file, int line);\n"
122 msgstr ""
123
124 #. type: IX
125 #: archlinux debian-trixie debian-unstable
126 #, no-wrap
127 msgid "DESCRIPTION"
128 msgstr ""
129
130 #. type: Plain text
131 #: archlinux
132 msgid ""
133 "\\&B<ERR_raise()> adds a new error to the thread\\*(Aqs error queue. The "
134 "error occurred in the library B<lib> for the reason given by the "
135 "\\&B<reason> code. Furthermore, the name of the file, the line, and name of "
136 "the function where the error occurred is saved with the error record."
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable
141 msgid ""
142 "\\&B<ERR_raise_data()> does the same thing as B<ERR_raise()>, but also lets "
143 "the caller specify additional information as a format string B<fmt> and an "
144 "arbitrary number of values, which are processed with B<BIO_snprintf>\\|(3)."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux
149 msgid ""
150 "\\&B<ERR_put_error()> adds an error code to the thread\\*(Aqs error queue. "
151 "It signals that the error of reason code B<reason> occurred in function "
152 "\\&B<func> of library B<lib>, in line number B<line> of B<file>. This "
153 "function is usually called by a macro."
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable
158 msgid ""
159 "\\&B<ERR_add_error_data()> associates the concatenation of its B<num> string "
160 "arguments as additional data with the error code added last. "
161 "\\&B<ERR_add_error_vdata()> is similar except the argument is a B<va_list>. "
162 "Multiple calls to these functions append to the current top of the error "
163 "queue. The total length of the string data per error is limited to 4096 "
164 "characters."
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable
169 msgid ""
170 "\\&B<ERR_add_error_txt()> appends the given text string as additional data "
171 "to the last error queue entry, after inserting the optional separator string "
172 "if it is not NULL and the top error entry does not yet have additional "
173 "data. In case the separator is at the end of the text it is not appended to "
174 "the data. The B<sep> argument may be for instance \"\\en\" to insert a line "
175 "break when needed. If the associated data would become more than 4096 "
176 "characters long (which is the limit given above) it is split over "
177 "sufficiently many new copies of the last error queue entry."
178 msgstr ""
179
180 #. type: Plain text
181 #: archlinux
182 msgid ""
183 "\\&B<ERR_add_error_mem_bio()> is the same as B<ERR_add_error_txt()> except "
184 "that the text string is taken from the given memory BIO. It appends "
185 "\\*(Aq\\e0\\*(Aq to the BIO contents if not already NUL-terminated."
186 msgstr ""
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable
190 msgid ""
191 "\\&B<ERR_load_strings>\\|(3) can be used to register error strings so that "
192 "the application can a generate human-readable error messages for the error "
193 "code."
194 msgstr ""
195
196 #. type: IX
197 #: archlinux debian-trixie debian-unstable
198 #, no-wrap
199 msgid "Reporting errors"
200 msgstr ""
201
202 #. type: IX
203 #: archlinux debian-trixie debian-unstable
204 #, no-wrap
205 msgid "Subsection"
206 msgstr ""
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable
210 msgid "I<OpenSSL library reports>"
211 msgstr ""
212
213 #. type: IX
214 #: archlinux debian-trixie debian-unstable
215 #, no-wrap
216 msgid "OpenSSL library reports"
217 msgstr ""
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable
221 msgid ""
222 "Each OpenSSL sub-library has library code B<ERR_LIB_XXX> and has its own set "
223 "of reason codes B<XXX_R_...>. These are both passed in combination to "
224 "\\&B<ERR_raise()> and B<ERR_raise_data()>, and the combination ultimately "
225 "produces the correct error text for the reported error."
226 msgstr ""
227
228 #. type: Plain text
229 #: archlinux
230 msgid ""
231 "All these macros and the numbers they have as values are specific to "
232 "OpenSSL\\*(Aqs libraries. OpenSSL reason codes normally consist of textual "
233 "error descriptions. For example, the function B<ssl3_read_bytes()> reports a "
234 "\"handshake failure\" as follows:"
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable
239 #, no-wrap
240 msgid "\\& ERR_raise(ERR_LIB_SSL, SSL_R_SSL_HANDSHAKE_FAILURE);\n"
241 msgstr ""
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable
245 msgid "There are two exceptions:"
246 msgstr ""
247
248 #. type: IP
249 #: archlinux debian-trixie debian-unstable
250 #, no-wrap
251 msgid "B<ERR_LIB_SYS>"
252 msgstr ""
253
254 #. type: IX
255 #: archlinux debian-trixie debian-unstable
256 #, no-wrap
257 msgid "Item"
258 msgstr ""
259
260 #. type: IX
261 #: archlinux debian-trixie debian-unstable
262 #, no-wrap
263 msgid "ERR_LIB_SYS"
264 msgstr ""
265
266 #. type: Plain text
267 #: archlinux debian-trixie debian-unstable
268 msgid ""
269 "This \"library code\" indicates that a system error is being reported. In "
270 "this case, the reason code given to B<ERR_raise()> and B<ERR_raise_data()> "
271 "I<must> be B<errno>\\|(3)."
272 msgstr ""
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable
276 #, no-wrap
277 msgid "\\& ERR_raise(ERR_LIB_SYS, errno);\n"
278 msgstr ""
279
280 #. type: IP
281 #: archlinux debian-trixie debian-unstable
282 #, no-wrap
283 msgid "B<ERR_R_XXX>"
284 msgstr ""
285
286 #. type: IX
287 #: archlinux debian-trixie debian-unstable
288 #, no-wrap
289 msgid "ERR_R_XXX"
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable
294 msgid ""
295 "This set of error codes is considered global, and may be used in combination "
296 "with any sub-library code."
297 msgstr ""
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable
301 #, no-wrap
302 msgid "\\& ERR_raise(ERR_LIB_RSA, ERR_R_PASSED_INVALID_ARGUMENT);\n"
303 msgstr ""
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable
307 msgid "I<Other pieces of software>"
308 msgstr ""
309
310 #. type: IX
311 #: archlinux debian-trixie debian-unstable
312 #, no-wrap
313 msgid "Other pieces of software"
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux
318 msgid ""
319 "Other pieces of software that may want to use OpenSSL\\*(Aqs error reporting "
320 "system, such as engines or applications, must normally get their own numbers."
321 msgstr ""
322
323 #. type: IP
324 #: archlinux debian-trixie debian-unstable
325 #, no-wrap
326 msgid "\\(bu"
327 msgstr ""
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable
331 msgid ""
332 "To get a \"library\" code, call B<ERR_get_next_error_library>\\|(3); this "
333 "gives the calling code a dynamic number, usable for the duration of the "
334 "process."
335 msgstr ""
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable
339 msgid ""
340 "Reason codes for each such \"library\" are determined or generated by the "
341 "authors of that code. They must be numbers in the range 1 to 524287 (in "
342 "other words, they must be nonzero unsigned 18 bit integers)."
343 msgstr ""
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable
347 msgid ""
348 "The exceptions mentioned in \"OpenSSL library reports\" above are valid for "
349 "other pieces of software, i.e. they may use B<ERR_LIB_SYS> to report system "
350 "errors:"
351 msgstr ""
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable
355 msgid ""
356 "\\&... and they may use B<ERR_R_XXX> macros together with their own "
357 "\"library\" code."
358 msgstr ""
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable
362 #, no-wrap
363 msgid ""
364 "\\& int app_lib_code = ERR_get_next_error_library();\n"
365 "\\&\n"
366 "\\& /* ... */\n"
367 "\\&\n"
368 "\\& ERR_raise(app_lib_code, ERR_R_PASSED_INVALID_ARGUMENT);\n"
369 msgstr ""
370
371 #. type: IX
372 #: archlinux debian-trixie debian-unstable
373 #, no-wrap
374 msgid "RETURN VALUES"
375 msgstr ""
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable
379 msgid ""
380 "\\&B<ERR_raise()>, B<ERR_raise_data()>, B<ERR_put_error()>, "
381 "\\&B<ERR_add_error_data()>, B<ERR_add_error_vdata()> "
382 "\\&B<ERR_add_error_txt()>, and B<ERR_add_error_mem_bio()> return no values."
383 msgstr ""
384
385 #. type: IX
386 #: archlinux debian-trixie debian-unstable
387 #, no-wrap
388 msgid "NOTES"
389 msgstr ""
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable
393 msgid ""
394 "\\&B<ERR_raise()>, B<ERR_raise()> and B<ERR_put_error()> are implemented as "
395 "macros."
396 msgstr ""
397
398 #. type: IX
399 #: archlinux debian-trixie debian-unstable
400 #, no-wrap
401 msgid "SEE ALSO"
402 msgstr ""
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable
406 msgid "\\&B<ERR_load_strings>\\|(3), B<ERR_get_next_error_library>\\|(3)"
407 msgstr ""
408
409 #. type: IX
410 #: archlinux debian-trixie debian-unstable
411 #, no-wrap
412 msgid "HISTORY"
413 msgstr ""
414
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable
417 msgid ""
418 "ERR_raise, ERR_raise_data, B<ERR_add_error_txt()> and "
419 "B<ERR_add_error_mem_bio()> were added in OpenSSL 3.0."
420 msgstr ""
421
422 #. type: IX
423 #: archlinux debian-trixie debian-unstable
424 #, no-wrap
425 msgid "COPYRIGHT"
426 msgstr ""
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable
430 msgid "Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved."
431 msgstr ""
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable
435 msgid ""
436 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
437 "this file except in compliance with the License. You can obtain a copy in "
438 "the file LICENSE in the source distribution or at E<lt>https://"
439 "www.openssl.org/source/license.htmlE<gt>."
440 msgstr ""
441
442 #. ========================================================================
443 #. type: IX
444 #: debian-trixie debian-unstable
445 #, no-wrap
446 msgid "ERR_PUT_ERROR 3SSL"
447 msgstr ""
448
449 #. type: TH
450 #: debian-trixie
451 #, no-wrap
452 msgid "3.5.6"
453 msgstr ""
454
455 #. type: Plain text
456 #: debian-trixie debian-unstable
457 msgid ""
458 "\\&B<ERR_raise()> adds a new error to the thread's error queue. The error "
459 "occurred in the library B<lib> for the reason given by the \\&B<reason> "
460 "code. Furthermore, the name of the file, the line, and name of the function "
461 "where the error occurred is saved with the error record."
462 msgstr ""
463
464 #. type: Plain text
465 #: debian-trixie debian-unstable
466 msgid ""
467 "\\&B<ERR_put_error()> adds an error code to the thread's error queue. It "
468 "signals that the error of reason code B<reason> occurred in function "
469 "\\&B<func> of library B<lib>, in line number B<line> of B<file>. This "
470 "function is usually called by a macro."
471 msgstr ""
472
473 #. type: Plain text
474 #: debian-trixie debian-unstable
475 msgid ""
476 "\\&B<ERR_add_error_mem_bio()> is the same as B<ERR_add_error_txt()> except "
477 "that the text string is taken from the given memory BIO. It appends '\\e0' "
478 "to the BIO contents if not already NUL-terminated."
479 msgstr ""
480
481 #. type: Plain text
482 #: debian-trixie debian-unstable
483 msgid ""
484 "All these macros and the numbers they have as values are specific to "
485 "OpenSSL's libraries. OpenSSL reason codes normally consist of textual error "
486 "descriptions. For example, the function B<ssl3_read_bytes()> reports a "
487 "\"handshake failure\" as follows:"
488 msgstr ""
489
490 #. type: Plain text
491 #: debian-trixie debian-unstable
492 msgid ""
493 "Other pieces of software that may want to use OpenSSL's error reporting "
494 "system, such as engines or applications, must normally get their own numbers."
495 msgstr ""