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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
|
/* Output of mkstrtable.awk. DO NOT EDIT. */
/* err-codes.h - List of error codes and their description.
Copyright (C) 2003, 2004 g10 Code GmbH
This file is part of libgpg-error.
libgpg-error is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.
libgpg-error is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with libgpg-error; if not, write to the Free
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
/* The purpose of this complex string table is to produce
optimal code with a minimum of relocations. */
static const char msgstr[] =
gettext_noop ("Success") "\0"
gettext_noop ("General error") "\0"
gettext_noop ("Unknown packet") "\0"
gettext_noop ("Unknown version in packet") "\0"
gettext_noop ("Invalid public key algorithm") "\0"
gettext_noop ("Invalid digest algorithm") "\0"
gettext_noop ("Bad public key") "\0"
gettext_noop ("Bad secret key") "\0"
gettext_noop ("Bad signature") "\0"
gettext_noop ("No public key") "\0"
gettext_noop ("Checksum error") "\0"
gettext_noop ("Bad passphrase") "\0"
gettext_noop ("Invalid cipher algorithm") "\0"
gettext_noop ("Keyring open") "\0"
gettext_noop ("Invalid packet") "\0"
gettext_noop ("Invalid armor") "\0"
gettext_noop ("No user ID") "\0"
gettext_noop ("No secret key") "\0"
gettext_noop ("Wrong secret key used") "\0"
gettext_noop ("Bad session key") "\0"
gettext_noop ("Unknown compression algorithm") "\0"
gettext_noop ("Number is not prime") "\0"
gettext_noop ("Invalid encoding method") "\0"
gettext_noop ("Invalid encryption scheme") "\0"
gettext_noop ("Invalid signature scheme") "\0"
gettext_noop ("Invalid attribute") "\0"
gettext_noop ("No value") "\0"
gettext_noop ("Not found") "\0"
gettext_noop ("Value not found") "\0"
gettext_noop ("Syntax error") "\0"
gettext_noop ("Bad MPI value") "\0"
gettext_noop ("Invalid passphrase") "\0"
gettext_noop ("Invalid signature class") "\0"
gettext_noop ("Resources exhausted") "\0"
gettext_noop ("Invalid keyring") "\0"
gettext_noop ("Trust DB error") "\0"
gettext_noop ("Bad certificate") "\0"
gettext_noop ("Invalid user ID") "\0"
gettext_noop ("Unexpected error") "\0"
gettext_noop ("Time conflict") "\0"
gettext_noop ("Keyserver error") "\0"
gettext_noop ("Wrong public key algorithm") "\0"
gettext_noop ("Tribute to D. A.") "\0"
gettext_noop ("Weak encryption key") "\0"
gettext_noop ("Invalid key length") "\0"
gettext_noop ("Invalid argument") "\0"
gettext_noop ("Syntax error in URI") "\0"
gettext_noop ("Invalid URI") "\0"
gettext_noop ("Network error") "\0"
gettext_noop ("Unknown host") "\0"
gettext_noop ("Selftest failed") "\0"
gettext_noop ("Data not encrypted") "\0"
gettext_noop ("Data not processed") "\0"
gettext_noop ("Unusable public key") "\0"
gettext_noop ("Unusable secret key") "\0"
gettext_noop ("Invalid value") "\0"
gettext_noop ("Bad certificate chain") "\0"
gettext_noop ("Missing certificate") "\0"
gettext_noop ("No data") "\0"
gettext_noop ("Bug") "\0"
gettext_noop ("Not supported") "\0"
gettext_noop ("Invalid operation code") "\0"
gettext_noop ("Timeout") "\0"
gettext_noop ("Internal error") "\0"
gettext_noop ("EOF (gcrypt)") "\0"
gettext_noop ("Invalid object") "\0"
gettext_noop ("Provided object is too short") "\0"
gettext_noop ("Provided object is too large") "\0"
gettext_noop ("Missing item in object") "\0"
gettext_noop ("Not implemented") "\0"
gettext_noop ("Conflicting use") "\0"
gettext_noop ("Invalid cipher mode") "\0"
gettext_noop ("Invalid flag") "\0"
gettext_noop ("Invalid handle") "\0"
gettext_noop ("Result truncated") "\0"
gettext_noop ("Incomplete line") "\0"
gettext_noop ("Invalid response") "\0"
gettext_noop ("No agent running") "\0"
gettext_noop ("agent error") "\0"
gettext_noop ("Invalid data") "\0"
gettext_noop ("Assuan server fault") "\0"
gettext_noop ("Assuan error") "\0"
gettext_noop ("Invalid session key") "\0"
gettext_noop ("Invalid S-expression") "\0"
gettext_noop ("Unsupported algorithm") "\0"
gettext_noop ("No pinentry") "\0"
gettext_noop ("pinentry error") "\0"
gettext_noop ("Bad PIN") "\0"
gettext_noop ("Invalid name") "\0"
gettext_noop ("Bad data") "\0"
gettext_noop ("Invalid parameter") "\0"
gettext_noop ("Wrong card") "\0"
gettext_noop ("No dirmngr") "\0"
gettext_noop ("dirmngr error") "\0"
gettext_noop ("Certificate revoked") "\0"
gettext_noop ("No CRL known") "\0"
gettext_noop ("CRL too old") "\0"
gettext_noop ("Line too long") "\0"
gettext_noop ("Not trusted") "\0"
gettext_noop ("Operation cancelled") "\0"
gettext_noop ("Bad CA certificate") "\0"
gettext_noop ("Certificate expired") "\0"
gettext_noop ("Certificate too young") "\0"
gettext_noop ("Unsupported certificate") "\0"
gettext_noop ("Unknown S-expression") "\0"
gettext_noop ("Unsupported protection") "\0"
gettext_noop ("Corrupted protection") "\0"
gettext_noop ("Ambiguous name") "\0"
gettext_noop ("Card error") "\0"
gettext_noop ("Card reset required") "\0"
gettext_noop ("Card removed") "\0"
gettext_noop ("Invalid card") "\0"
gettext_noop ("Card not present") "\0"
gettext_noop ("No PKCS15 application") "\0"
gettext_noop ("Not confirmed") "\0"
gettext_noop ("Configuration error") "\0"
gettext_noop ("No policy match") "\0"
gettext_noop ("Invalid index") "\0"
gettext_noop ("Invalid ID") "\0"
gettext_noop ("No SmartCard daemon") "\0"
gettext_noop ("SmartCard daemon error") "\0"
gettext_noop ("Unsupported protocol") "\0"
gettext_noop ("Bad PIN method") "\0"
gettext_noop ("Card not initialized") "\0"
gettext_noop ("Unsupported operation") "\0"
gettext_noop ("Wrong key usage") "\0"
gettext_noop ("Nothing found") "\0"
gettext_noop ("Wrong blob type") "\0"
gettext_noop ("Missing value") "\0"
gettext_noop ("Hardware problem") "\0"
gettext_noop ("PIN blocked") "\0"
gettext_noop ("Conditions of use not satisfied") "\0"
gettext_noop ("PINs are not synced") "\0"
gettext_noop ("Invalid CRL") "\0"
gettext_noop ("BER error") "\0"
gettext_noop ("Invalid BER") "\0"
gettext_noop ("Element not found") "\0"
gettext_noop ("Identifier not found") "\0"
gettext_noop ("Invalid tag") "\0"
gettext_noop ("Invalid length") "\0"
gettext_noop ("Invalid key info") "\0"
gettext_noop ("Unexpected tag") "\0"
gettext_noop ("Not DER encoded") "\0"
gettext_noop ("No CMS object") "\0"
gettext_noop ("Invalid CMS object") "\0"
gettext_noop ("Unknown CMS object") "\0"
gettext_noop ("Unsupported CMS object") "\0"
gettext_noop ("Unsupported encoding") "\0"
gettext_noop ("Unsupported CMS version") "\0"
gettext_noop ("Unknown algorithm") "\0"
gettext_noop ("Invalid crypto engine") "\0"
gettext_noop ("Public key not trusted") "\0"
gettext_noop ("Decryption failed") "\0"
gettext_noop ("Key expired") "\0"
gettext_noop ("Signature expired") "\0"
gettext_noop ("Encoding problem") "\0"
gettext_noop ("Invalid state") "\0"
gettext_noop ("Duplicated value") "\0"
gettext_noop ("Missing action") "\0"
gettext_noop ("ASN.1 module not found") "\0"
gettext_noop ("Invalid OID string") "\0"
gettext_noop ("Invalid time") "\0"
gettext_noop ("Invalid CRL object") "\0"
gettext_noop ("Unsupported CRL version") "\0"
gettext_noop ("Invalid certificate object") "\0"
gettext_noop ("Unknown name") "\0"
gettext_noop ("A locale function failed") "\0"
gettext_noop ("Not locked") "\0"
gettext_noop ("Protocol violation") "\0"
gettext_noop ("Invalid MAC") "\0"
gettext_noop ("Invalid request") "\0"
gettext_noop ("Buffer too short") "\0"
gettext_noop ("Invalid length specifier in S-expression") "\0"
gettext_noop ("String too long in S-expression") "\0"
gettext_noop ("Unmatched parentheses in S-expression") "\0"
gettext_noop ("S-expression not canonical") "\0"
gettext_noop ("Bad character in S-expression") "\0"
gettext_noop ("Bad quotation in S-expression") "\0"
gettext_noop ("Zero prefix in S-expression") "\0"
gettext_noop ("Nested display hints in S-expression") "\0"
gettext_noop ("Unmatched display hints") "\0"
gettext_noop ("Unexpected reserved punctuation in S-expression") "\0"
gettext_noop ("Bad hexadecimal character in S-expression") "\0"
gettext_noop ("Odd hexadecimal numbers in S-expression") "\0"
gettext_noop ("Bad octadecimal character in S-expression") "\0"
gettext_noop ("User defined error code 1") "\0"
gettext_noop ("User defined error code 2") "\0"
gettext_noop ("User defined error code 3") "\0"
gettext_noop ("User defined error code 4") "\0"
gettext_noop ("User defined error code 5") "\0"
gettext_noop ("User defined error code 6") "\0"
gettext_noop ("User defined error code 7") "\0"
gettext_noop ("User defined error code 8") "\0"
gettext_noop ("User defined error code 9") "\0"
gettext_noop ("User defined error code 10") "\0"
gettext_noop ("User defined error code 11") "\0"
gettext_noop ("User defined error code 12") "\0"
gettext_noop ("User defined error code 13") "\0"
gettext_noop ("User defined error code 14") "\0"
gettext_noop ("User defined error code 15") "\0"
gettext_noop ("User defined error code 16") "\0"
gettext_noop ("Unknown system error") "\0"
gettext_noop ("End of file") "\0"
gettext_noop ("Unknown error code");
static const int msgidx[] =
{
0,
8,
22,
37,
63,
92,
117,
132,
147,
161,
175,
190,
205,
230,
243,
258,
272,
283,
297,
319,
335,
365,
385,
409,
435,
460,
478,
487,
497,
513,
526,
540,
559,
583,
603,
619,
634,
650,
666,
683,
697,
713,
740,
757,
777,
796,
813,
833,
845,
859,
872,
888,
907,
926,
946,
966,
980,
1002,
1022,
1030,
1034,
1048,
1071,
1079,
1094,
1107,
1122,
1151,
1180,
1203,
1219,
1235,
1255,
1268,
1283,
1300,
1316,
1333,
1350,
1362,
1375,
1395,
1408,
1428,
1449,
1471,
1483,
1498,
1506,
1519,
1528,
1546,
1557,
1568,
1582,
1602,
1615,
1627,
1641,
1653,
1673,
1692,
1712,
1734,
1758,
1779,
1802,
1823,
1838,
1849,
1869,
1882,
1895,
1912,
1934,
1948,
1968,
1984,
1998,
2009,
2029,
2052,
2073,
2088,
2109,
2131,
2147,
2161,
2177,
2191,
2208,
2220,
2252,
2272,
2284,
2294,
2306,
2324,
2345,
2357,
2372,
2389,
2404,
2420,
2434,
2453,
2472,
2495,
2516,
2540,
2558,
2580,
2603,
2621,
2633,
2651,
2668,
2682,
2699,
2714,
2737,
2756,
2769,
2788,
2812,
2839,
2852,
2877,
2888,
2907,
2919,
2935,
2952,
2993,
3025,
3063,
3090,
3120,
3150,
3178,
3215,
3239,
3287,
3329,
3369,
3411,
3437,
3463,
3489,
3515,
3541,
3567,
3593,
3619,
3645,
3672,
3699,
3726,
3753,
3780,
3807,
3834,
3855,
3867
};
#define msgidxof(code) (0 ? -1 \
: ((code >= 0) && (code <= 170)) ? (code - 0) \
: ((code >= 200) && (code <= 213)) ? (code - 29) \
: ((code >= 1024) && (code <= 1039)) ? (code - 839) \
: ((code >= 16382) && (code <= 16383)) ? (code - 16181) \
: 16384 - 16181)
|