259f5600136296a7f9e3296d436cfa0418e90baa
[gpgme.git] / tests / ChangeLog
1 2007-11-23  Werner Koch  <wk@g10code.com>
2
3         * gpgsm/t-verify.c (check_result): Don't exit on error but set a flag.
4         (main): Cosnult flag for return value.
5         (show_auditlog): New.
6         (main): Use it.
7
8 2007-09-27  Marcus Brinkmann  <marcus@g10code.de>
9
10         * t-engine-info.c (check_engine_info): Fix debug output.
11         * gpg/Makefile.am (tests_unix): New variable.
12         (TESTS): Use it.
13         * gpg/t-support.h (passphrase_cb) [HAVE_W32_SYSTEM]: Use WriteFile instead of write.
14         * gpg/t-wait.c [HAVE_W32_SYSTEM]: Define sleep as _sleep.
15
16 2007-09-14  Marcus Brinkmann  <marcus@g10code.de>
17
18         * gpgsm/t-verify.c (main): Release TEXT and SIG.
19
20 2007-07-12  Marcus Brinkmann  <marcus@g10code.de>
21
22         * gpgsm/Makefile.am (key_id): Change := into =.
23
24 2007-07-12  Werner Koch  <wk@g10code.com>
25
26         * gpgsm/t-support.h (init_gpgme) [W32]: Do not init the locales as
27         the constants are not available.
28
29 2007-02-26  Werner Koch  <wk@g10code.com>
30
31         * gpg/t-verify.c (double_plaintext_sig): New.
32         (main): Check it.
33
34 2006-12-02  Marcus Brinkmann  <marcus@g10code.de>
35
36         * gpgsm/t-keylist.c (main): Skip unknown keys.  Newer versions of
37         GPGSM import more keys than older ones.
38
39 2005-12-06  Werner Koch  <wk@g10code.com>
40
41         * gpg/t-keylist.c (main): Changed for that secondary keys now have
42         a fingerprint.
43         * gpg/t-keylist-sig.c (main): Ditto.
44         * gpgsm/t-keylist.c (main): Ditto.  The test used to be wrong.
45
46 2005-10-18  Werner Koch  <wk@g10code.com>
47
48         * gpg/pubdemo.asc, gpg/secdemo.asc: Add 2 expired subkeys to
49         Whisky.
50         * gpg/t-keylist.c: Reordered list to match new demo keyring.  Add
51         arg for number of subkeys and for extra checking function.
52         (main): Enhanced a few error outputs.  Changed subkey
53         counting. Call extra checking fucntion.
54         (check_whisky): New.
55
56 2005-10-07  Marcus Brinkmann  <marcus@g10code.de>
57
58         * gpgsm/t-keylist.c (main): Allow for an email address as a second
59         uid.
60
61         * gpg/t-sig-notation.c: Change critical notation to something
62         GnuPG understands.
63
64 2005-10-01  Marcus Brinkmann  <marcus@g10code.de>
65
66         * gpg/Makefile.am (EXTRA_DIST): Remove gpg.conf.
67         (DISTCLEANFILES): Add gpg.conf.
68         (all-local): Add gpg.conf.
69         (./gpg.conf): New target.
70         * gpg/gpg.conf: Remove file.
71
72         * gpg/Makefile.am (EXTRA_DIST): Add gpg.conf.
73
74         * gpg/Makefile.am (TESTS): Add t-sig-notation.
75         * gpg/t-sig-notation.c (check_result): New file.
76         * gpg/t-verify.c (check_result): Also check the length of the
77         notation data.
78         * gpg/gpg.conf: New file.
79
80 2005-09-30  Marcus Brinkmann  <marcus@g10code.de>
81
82         * gpg/Makefile.am (TESTS): Add t-filename.
83         * gpg/t-filename.c: New file.
84
85 2005-09-23  Werner Koch  <wk@g10code.com>
86
87         * gpg/t-support.h (init_gpgme) [W32]: Don't use LC_MESSAGES.
88
89         * gpg/t-encrypt-large.c: New test.
90         * gpg/Makefile.am (TESTS): Add t-encrypt-large.
91
92 2005-06-03  Marcus Brinkmann  <marcus@g10code.de>
93
94         * gpg/Makefile.am (TESTS): Add t-wait.
95         * gpg/t-wait.c (main): New test.
96
97 2004-12-07  Marcus Brinkmann  <marcus@g10code.de>
98
99         * gpg/mkdemodirs: Add copyright notice.
100
101         * gpgsm/Makefile.am, gpgsm/t-support.h, gpgsm/t-decrypt.c,
102         gpgsm/t-encrypt.c, gpgsm/t-export.c, gpgsm/t-genkey.c,
103         gpgsm/t-import.c, gpgsm/t-keylist.c, gpgsm/t-sign.c,
104         gpgsm/t-verify.c, gpg/Makefile.am, gpg/t-decrypt.c,
105         gpg/t-decrypt-verify.c, gpg/t-edit.c, gpg/t-encrypt.c,
106         gpg/t-encrypt-sign.c, gpg/t-encrypt-sym.c, gpg/t-eventloop.c,
107         gpg/t-export.c, gpg/t-genkey.c, gpg/t-import.c, gpg/t-keylist.c,
108         gpg/t-keylist-sig.c, gpg/t-sign.c, gpg/t-signers.c,
109         gpg/t-support.h, gpg/t-thread1.c, gpg/t-trustlist.c,
110         gpg/t-verify.c, Makefile.am, t-data.c, t-engine-info.c,
111         t-version.c: Change license to LGPL.
112
113 2004-08-17  Marcus Brinkmann  <marcus@g10code.de>
114
115         * gpgsm/t-keylist.c (struct): Add new fields VALIDITY and
116         KEY_LENGTH.  
117         (main): Use them.
118         * gpgsm/t-import.c (check_result): New argument total_stat.
119         (main): Pass this argument.  Reduce number of total considered
120         keys to 1 for the second test.
121
122 2004-04-05  Werner Koch  <wk@gnupg.org>
123
124         * gpgsm/Makefile.am: Changed the faked system time to 20011213T12000.
125
126 2004-03-07  Marcus Brinkmann  <marcus@g10code.de>
127
128         * gpgsm/t-keylist.c: Add chain IDs.
129
130 2004-03-03  Werner Koch  <wk@gnupg.org>
131
132         * gpgsm/t-export.c (main): Also check exporting 2 certificates.
133
134 2004-02-17  Werner Koch  <wk@gnupg.org>
135
136         * gpgsm/t-import.c (check_result): gpgsm does now return info in
137         the result->imports; adjust for that.
138
139         * gpgsm/Makefile.am (TESTS_ENVIRONMENT): Reset the GPG_AGENT_INFO.
140
141         Include config.h at the top of each C source.  This is required
142         due to LFS support.
143         
144         * gpg/t-keylist-sig.c (main): s/class/sig_class/.
145         * gpg/t-signers.c (check_result): Ditto.
146         * gpg/t-sign.c (check_result): Ditto.
147         * gpg/t-encrypt-sign.c (check_result): Ditto. 
148         * gpgsm/t-sign.c (check_result): Ditto.
149
150 2004-01-12  Werner Koch  <wk@gnupg.org>
151
152         * gpg/t-keylist-sig.c (main): Temporary disabled one test due top
153         gpg 1.3.4 problems.
154         * gpg/t-import.c (check_result): Likewise.
155
156 2003-11-19  Werner Koch  <wk@gnupg.org>
157
158         * gpg/t-support.h (DIM): Added.
159
160         * gpg/t-verify.c (check_result): Rewrote test for notations
161         because the order of notaions is not guaranteed.
162
163         * gpgsm/t-support.h (fail_if_err): Also print the numeric values.
164
165 2003-10-06  Marcus Brinkmann  <marcus@g10code.de>
166
167         * gpg/t-eventloop.c: Include <sys/types.h> for old systems.
168
169         * gpgsm/Makefile.am (DISTCLEANFILES): Add random_seed.
170
171         * gpg/t-thread1.c (thread_one): Do not call initialize_gpgme.
172         Likewise.
173
174 2003-09-14  Marcus Brinkmann  <marcus@g10code.de>
175
176         * gpg/t-thread1.c (main): Call init_gpgme here.
177         (initialize_gpgme): Function removed.
178
179         * gpg/t-thread1.c: New file.
180         * gpg/Makefile.am (TESTS): Add t-thread1.c.
181         (t_thread1_LDADD): New variable.
182         (LDADD): Remove GPG Error lib.
183         * gpgsm/Makefile.am (LDADD): Likewise.
184
185         * gpg/t-import.c (main): Likewise.
186         * gpg/t-keylist-sig.c (main): Likewise.
187         * gpg/t-keylist.c (main): Likewise.
188         * gpg/t-sign.c (main): Likewise.
189         * gpg/t-signers.c (main): Likewise.
190         * gpg/t-trustlist.c (main): Likewise.
191         * gpgsm/t-support.h: Include <stdlib.h> and <locale.h>.
192         (init_gpgme): New function.
193         * gpg/t-support.h: Likewise.
194         * gpgsm/t-verify.c (main): Call init_gpgme.
195         * gpgsm/t-decrypt.c (main): Likewise.
196         * gpgsm/t-encrypt.c (main): Likewise.
197         * gpgsm/t-export.c (main): Likewise.
198         * gpgsm/t-genkey.c (main): Likewise.
199         * gpgsm/t-import.c (main): Likewise.
200         * gpgsm/t-keylist.c (main): Likewise.
201         * gpgsm/t-sign.c (main): Likewise.
202         * gpg/t-verify.c (main): Call init_gpgme.
203         * gpg/t-decrypt-verify.c (main): Likewise.
204         * gpg/t-decrypt.c (main): Likewise.
205         * gpg/t-edit.c (main): Likewise.
206         * gpg/t-encrypt-sign.c (main): Likewise.
207         * gpg/t-encrypt-sym.c (main): Likewise.
208         * gpg/t-encrypt.c (main): Likewise.
209         * gpg/t-eventloop.c (main): Likewise.
210         * gpg/t-export.c (main): Likewise.
211         * gpg/t-genkey.c (main): Likewise.
212
213 2003-08-14  Marcus Brinkmann  <marcus@g10code.de>
214
215         * gpg/t-sign.c (check_result): Change output format for signature
216         class to unsigned int.
217         * gpg/t-signers.c (check_result): Likewise.
218         * gpg/t-encrypt-sign.c (check_result): Likewise.
219         * gpgsm/t-sign.c (check_result): Likewise.
220
221 2003-07-31  Marcus Brinkmann  <marcus@g10code.de>
222
223         * gpg/t-verify.c (check_result): Change type of SUMMARY to
224         unsigned int.
225         * gpg/t-decrypt-verify.c (check_verify_result): Likewise.
226         * gpg/t-keylist-sig.c (keys): Change type of member CLASS to
227         unsigned int.
228         * t-data.c (read_cb): Change type of AMOUNT to unsigned int.
229         * t-version.c (version): Remove unused variable.
230
231 2003-07-22  Marcus Brinkmann  <marcus@g10code.de>
232
233         * Makefile.am (AM_CPPFLAGS): New variable.
234         (LDADD): Add @GPG_ERROR_LIBS@.
235         * gpg/Makefile.am (AM_CPPFLAGS): New variable.
236         (LDADD): Add @GPG_ERROR_LIBS@.
237         * gpgsm/Makefile.am (AM_CPPFLAGS): New variable.
238         (LDADD): Add @GPG_ERROR_LIBS@.
239
240 2003-06-06  Marcus Brinkmann  <marcus@g10code.de>
241
242         Everywhere: Use libgpg-error error codes.
243
244         * gpg/Makefile.am (noinst_HEADERS): New variable.
245         * gpg/t-support.h: New file.
246         * gpgsm/Makefile.am (noinst_HEADERS): New variable.
247         * gpgsm/t-support.h: New file.
248
249 2003-05-29  Marcus Brinkmann  <marcus@g10code.de>
250
251         * gpg/t-encrypt-sym.c (main): Adapt to new syntax.
252         * gpg/t-encrypt.c (main): Likewise.
253         * gpg/t-eventloop.c (main): Likewise.
254         * gpg/t-encrypt-sign.c (main): Likewise.
255         * gpgsm/t-export.c (main): Likewise.
256         * gpgsm/t-encrypt.c (main): Likewise.
257
258 2003-05-28  Marcus Brinkmann  <marcus@g10code.de>
259
260         * gpg/t-eventloop.c (main): Rewrite recipient management.
261         * gpg/t-encrypt-sign.c (main): Likewise.
262         * gpg/t-encrypt.c (main): Likewise.
263         * gpg/t-export.c (main): Likewise.
264         * gpgsm/t-encrypt.c (main): Likewise.
265         * gpgsm/t-export.c (main): Likewise.
266         
267 2003-05-27  Marcus Brinkmann  <marcus@g10code.de>
268
269         * gpg/Makefile.am (TESTS): Order t-keylist and t-keylist-sig after
270         t-import.
271         * gpg/t-edit.c (edit_fnc): Fix primary UID for keylisting tests.
272         * gpg/t-keylist.c: Change order of user IDs.
273         * gpg/t-keylist-sig.c: Likewise.
274         * gpg/t-import.c: Add support for gpg in CVS.
275
276 2003-05-27  Marcus Brinkmann  <marcus@g10code.de>
277
278         * t-data.c: Remove TEST_OUT_CB.
279         (main): Likewise.
280         * gpg/t-trustlist.c (main): Access ITEM directly.
281
282         * (t-decrypt-verify.c, t-decrypt.c, t-edit.c, t-encrypt-sign.c,
283         t-encrypt-sym.c, t-sign.c, t-signers.c): Include <unistd.h>.
284         (passphrase_cb): Rewritten.
285         * t-edit.c (edit_fnc): Rewritten.
286
287 2003-05-04  Marcus Brinkmann  <marcus@g10code.de>
288
289         * gpg/t-keylist-sig.c (main): Remove timestamp check.
290
291         * gpgsm/t-keylist.c: Add check for timestamp.
292
293         * gpg/Makefile.am (TESTS): Add t-keylist-sig.
294         * gpg/t-keylist-sig.c: New file.
295
296 2003-04-30  Marcus Brinkmann  <marcus@g10code.de>
297
298         * gpg/t-eventloop.c (main): Do not call print_op_info.
299         (print_op_info): Function removed.
300
301         * gpg/t-keylist.c: Rewritten.
302         * gpgsm/t-keylist.c (main): Rewritten.
303         * gpg/t-edit.c (main): Do not use gpgme_key_get_as_xml.  Use
304         gpgme_key_unref instead gpgme_key_release.
305         * gpg/t-signers.c (main): Use gpgme_key_unref instead
306         gpgme_key_release.
307
308 2003-04-29  Marcus Brinkmann  <marcus@g10code.de>
309
310         * gpg/t-trustlist.c: Rewritten.
311
312         * gpg/t-verify.c (main): Rewritten.
313         * gpg/t-decrypt-verify.c: Rewritten.
314         * gpgsm/t-verify.c (main): Rewritten.
315
316 2003-04-28  Marcus Brinkmann  <marcus@g10code.de>
317
318         * gpgsm/t-decrypt.c (main): Rewritten.
319
320         * gpg/t-decrypt.c: Rewritten.
321
322         * gpg/t-signers.c: Rewritten.
323
324 2003-04-27  Marcus Brinkmann  <marcus@g10code.de>
325
326         * gpg/t-encrypt-sign.c (check_result): Rewritten.
327
328         * gpg/t-sign.c: Rewritten.
329         * gpgsm/t-sign.c: Rewritten.
330         * gpg/t-encrypt.c: Check for invalid recipients.
331         * gpgsm/t-encrypt.c: Likewise.
332
333         * gpg/t-import.c (check_result): Really use FPR.
334         * gpgsm/t-import.c (check_result): Rewritten.
335
336 2003-04-25  Marcus Brinkmann  <marcus@g10code.de>
337
338         * gpg/t-import.c: Rewritten.
339
340         * gpgsm/t-genkey.c: Rewritten.
341         * gpgsm/Makefile.am (noinst_PROGRAMS): Add t-genkey.
342         * gpg/t-genkey.c: Include <stdlib.h>.
343         (main): Check result->fpr before checking its length.
344
345 2003-04-24  Marcus Brinkmann  <marcus@g10code.de>
346
347         * gpg/t-genkey.c: Rewritten to match new semantics.
348
349 2003-02-06  Marcus Brinkmann  <marcus@g10code.de>
350
351         * gpg/t-decrypt.c (passphrase_cb): Fix to new prototype.
352         * gpg/t-decrypt-verify.c (passphrase_cb): Likewise.
353         * gpg/t-edit.c (passphrase_cb): Likewise.
354         * gpg/t-encrypt-sign.c (passphrase_cb): Likewise.
355         * gpg/t-encrypt-sym.c (passphrase_cb): Likewise.
356         * gpg/t-sign.c (passphrase_cb): Likewise.
357         * gpg/t-signers.c (passphrase_cb): Likewise.
358
359 2003-01-30  Marcus Brinkmann  <marcus@g10code.de>
360
361         * t-engine-info.c: Use file_name instead path throughout.
362
363         * Makefile.am (TESTS): Add t-engine-info.
364         * t-engine-info.c: New file.
365         * gpg/t-encrypt.c (main): Don't print engine info.
366         * gpg/t-eventloop.c (main): Likewise.
367         * gpg/t-encrypt-sign.c (main): Likewise.
368         * gpgsm/t-encrypt.c (main): Likewise.
369         
370 2002-12-24  Marcus Brinkmann  <marcus@g10code.de>
371
372         * gpgsm/t-verify.c (main): Adjust caller of gpgme_op_verify.
373         * gpg/t-verify.c (main): Likewise.
374         * gpg/t-decrypt-verify.c (main): Likewise for
375         gpgme_op_decrypt_verify.
376
377 2002-12-23  Marcus Brinkmann  <marcus@g10code.de>
378
379         * gpgsm/Makefile.am (./gpgsm.conf): Add a faked system time to
380         avoid certification's expiry.
381         * gpgsm/t-encrypt.c (main): Use the short certification name.
382
383 2002-11-19  Marcus Brinkmann  <marcus@g10code.de>
384
385         * gpg/t-genkey.c (main): Add missing argument to gpgme_op_genkey
386         invocation.
387
388 2002-10-09  Marcus Brinkmann  <marcus@g10code.de>
389
390         * gpg/t-decrypt.c (print_data): Update to new gpgme_data_read
391         interface, and use gpgme_engine_check_version instead
392         gpgme_check_version.
393         * gpg/t-decrypt-verify.c (print_data): Likewise.
394         * gpg/t-edit.c (main): Likewise.
395         * gpg/t-encrypt.c (print_data): Likewise.
396         * gpg/t-encrypt-sign.c (print_data): Likewise.
397         * gpg/t-encrypt-sym.c (print_data): Likewise.
398         * gpg/t-eventloop.c (print_data): Likewise.
399         * gpg/t-export.c (print_data): Likewise.
400         * gpg/t-sign.c (print_data): Likewise.
401         * gpg/t-signers.c (print_data): Likewise.
402         * gpgsm/t-decrypt.c (print_data): Likewise.
403         * gpgsm/t-encrypt.c (print_data): Likewise.
404         * gpgsm/t-export.c (print_data): Likewise.
405         * gpgsm/t-sign.c (print_data): Likewise.
406         * gpg/t-verify.c (main): Likewise for gpgme_op_verify.
407         * gpgsm/t-verify.c (main): Likewise for gpgme_op_verify.
408         * t-data.c (read_once_test): Likewise.
409         (write_test): Update for new behaviour of data objects.
410         (main): Remove type test.
411
412 2002-09-30  Werner Koch  <wk@gnupg.org>
413
414         * gpgsm/t-keylist.c (doit): Add arg SECRET.
415         (main): Add option --secret.
416
417 2002-09-28  Marcus Brinkmann  <marcus@g10code.de>
418
419         * t-version.c: Include <string.h>.  Reported by Stéphane Corthésy.
420
421 2002-09-02  Marcus Brinkmann  <marcus@g10code.de>
422
423         * gpg/t-keylist.c (main): Test PATTERN for NULL before printing.
424         Reported by Dr. Stefan Dalibor <Dr.Stefan.Dalibor@bfa.de>.
425         
426 2002-08-01  Marcus Brinkmann  <marcus@g10code.de>
427
428         * gpg/t-edit.c: Also add a test for the expire command (testing
429         the passphrase callback).
430
431 2002-07-28  Marcus Brinkmann  <marcus@g10code.de>
432
433         * gpg/t-edit.c: New file.
434         * gpg/Makefile (TESTS): Add t-edit.
435
436 2002-07-25  Marcus Brinkmann  <marcus@g10code.de>
437
438         * gpg/t-encrypt-sym.c (main): Change type of I to size_t and
439         rename to LEN.
440         * gpg/t-verify.c (main): Likewise.  Submitted by Stéphane
441         Corthésy.
442
443 2002-07-03  Marcus Brinkmann  <marcus@g10code.de>
444
445         * gpg/t-eventloop.c: New file.
446         * gpg/Makefile (TESTS): Add t-eventloop.
447
448 2002-06-26  Werner Koch  <wk@gnupg.org>
449
450         * gpgsm/t-import.c (print_op_info): New.
451         (main): Print operation info.
452
453 2002-06-25  Werner Koch  <wk@gnupg.org>
454
455         * gpgsm/Makefile.am (DISTCLEANFILES): new.
456
457 2002-06-25  Marcus Brinkmann  <marcus@g10code.de>
458
459         * gpgsm/Makefile.am (TESTS): Add t-export.
460         gpgsm/t-export.c: New file.
461
462 2002-06-20  Werner Koch  <wk@gnupg.org>
463
464         * gpgsm/t-sign.c (main): Also test a normal signature.
465
466         * gpg/Makefile (TESTS_ENVIRONMENT): Set GPG_AGENT_INFO empty.
467         * gpg/t-signers.c, gpg/t-sign.c, gpg/t-encrypt-sym.c
468         * gpg/t-encrypt-sign.c, gpg/t-decrypt.c
469         * gpg/t-decrypt-verify.c (main): Changed the GPG_AGENT_INFO check to
470         match the one in ../../gpgme/rungpg.c.
471
472 2002-06-12  Werner Koch  <wk@gnupg.org>
473
474         * gpgsm/t-keylist.c (doit): Print operation info if available.
475
476 2002-06-10  Werner Koch  <wk@gnupg.org>
477
478         * gpgsm/t-verify.c (print_sig_stat): Print the error token.
479
480 2002-06-04  Werner Koch  <wk@gnupg.org>
481
482         * gpgsm/t-encrypt.c (main): Add a simple option parser and allow
483         to specify an encryption key.
484
485 2002-05-26  Marcus Brinkmann  <marcus@g10code.de>
486
487         * gpg/Makefile.am (all-local): Remove dependency on ./secring.gpg.
488         (./secring.gpg): Remove target, and move all rules for this target
489         to ...
490         (./pubring.gpg): ... here.  This was necessary because GnuPG 1.0.7
491         does create an empty secring.gpg file when importing public keys.
492
493 2002-05-08  Marcus Brinkmann  <marcus@g10code.de>
494
495         * gpgsm/t-verify.c (validity_string): New.
496         (print_sig_stat): Print expire time and validity.
497         (status_string): Add new exipred stati.
498
499 2002-05-03  Werner Koch  <wk@gnupg.org>
500
501         * gpg/t-verify.c (validity_string): New.
502         (print_sig_stat): Print expire time and validity.
503         (status_string): Add new exipred stati.
504
505 2002-04-05  Marcus Brinkmann  <marcus@g10code,de>
506
507         * gpgsm/Makefile.am (./trustlist.txt): Put more into this file to
508         prevent use of gpg-agent.
509         (./gpg-agent.conf): Remove target.
510         (all-local): Remove ./gpg-agent.conf.
511
512 2002-04-05  Marcus Brinkmann  <marcus@g10code.de>
513
514         * gpgsm/t-keylist.c (main): Use gpgme_engine_check_version instead
515         gpgme_check_engine.
516         * gpgsm/t-encrypt.c (main): Likewise.
517
518 2002-03-06  Marcus Brinkmann  <marcus@g10code.de>
519
520         * gpg/t-encrypt-sym.c: New file.
521         * gpg/Makefile.am (TESTS): Add t-encrypt-sym.
522
523 2002-03-05  Marcus Brinkmann  <marcus@g10code.de>
524
525         * gpg/Makefile.am (CLEANFILES): Remove random_seed, which is now
526         in DISTCLEANFILES.
527
528 2002-03-04  Werner Koch  <wk@gnupg.org>
529
530         * gpg/Makefile.am (DISTCLEANFILES): Added.
531
532 2002-03-03  Marcus Brinkmann  <marcus@g10code.de>
533
534         * gpg/t-verify.c (main): Add a few more sanity checks, and a check
535         for normal signatures.
536
537 2002-02-26  Marcus Brinkmann  <marcus@g10code.de>
538
539         * gpg/t-encrypt-sign.c: New file.
540         * gpg/Makefile.am (TESTS): Add t-encrypt-sign.
541
542 2002-02-13  Werner Koch  <wk@gnupg.org>
543
544         * gpgsm/Makefile.am (private-keys-v1.d): Don't
545         fail when the directory already exists.
546
547 2002-02-12  Marcus Brinkmann  <marcus@g10code.de>
548
549         * gpg/Makefile.am (CLEANFILES): New target.
550         (distclean-local): Rename to ...
551         (clean-local): ... this.
552
553 2002-02-09  Marcus Brinkmann  <marcus@g10code.de>
554
555         * gpgsm/Makefile.am (./private-keys-v1.d/$(key_id).key): Fix rule.
556
557 2002-02-09  Marcus Brinkmann  <marcus@g10code.de>
558
559         * gpgsm/t-genkey.c: New file (not added to Makefile.am because of
560         gpg-agent bug).
561
562 2002-02-08  Marcus Brinkmann  <marcus@g10code.de>
563
564         * gpgsm/Makefile.am (key_id): Update value.
565         (all-local): Add .key to keyid filename.
566         (./private-keys-v1.d/$(key_id)): Renamed to ...
567         (./private-keys-v1.d/$(key_id).key): ... this.
568         (all-local): Add ./gpgsm.conf, ./trustlist.txt.
569         (./gpgsm.conf, ./trustlist.txt): New target.
570         * gpgsm/567064FE6D14A17B2D811ABB407728BC558AA455: Renamed to ...
571         * gpgsm/32100C27173EF6E9C4E9A25D3D69F86D37A4F939: ... this.
572
573 2002-01-30  Marcus Brinkmann  <marcus@g10code.de>
574
575         * gpg/t-import.c (print_op_info): New function.
576         (main): Use it.
577
578 2002-01-22  Marcus Brinkmann  <marcus@g10code.de>
579
580         * gpg/t-signers.c (passphrase_cb): Change type of r_hd to void**.
581         * gpg/t-sign.c (passphrase_cb): Likewise.
582         * gpg/t-decrypt-verify.c (passphrase_cb): Likewise.
583         * gpg/t-decrypt.c (passphrase_cb): Likewise.
584
585 2001-12-19  Marcus Brinkmann  <marcus@g10code.de>
586
587         * gpg/t-decrypt-verify.c: Don't include `mcheck.h'.  Reported by
588         Stéphane Corthésy.
589
590 2001-12-19  Marcus Brinkmann  <marcus@g10code.de>
591
592         * gpg/Makefile.am (EXTRA_DIST): Add missing line continuation.
593
594 2001-12-19  Marcus Brinkmann  <marcus@g10code.de>
595
596         * gpgsm/Makefile.am (EXTRA_DIST): Add $(key_id).
597
598 2001-12-16  Marcus Brinkmann  <marcus@g10code.de>
599
600         * gpgsm/Makefile: Rename `pubcerts.kbx' to `pubring.kbx'.
601
602 2001-12-15  Marcus Brinkmann  <marcus@g10code.de>
603
604         * gpgsm/t-keylist.c (check_two_contexts): Set protocols.
605
606 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
607
608         * gpgsm/t-sign.c: New file.
609         * gpgsm/Makefile.am (TESTS): Add t-sign.
610
611 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
612
613         * gpgsm/t-decrypt.c: New file.
614         * gpgsm/567064FE6D14A17B2D811ABB407728BC558AA455: Likewise.
615         * gpgsm/Makefile.am (TESTS): Add t-decrypt.
616         (key_id): New variable.
617         (all-local): New target ./private-keys-v1.d/$(key_id) added.
618         (./private-keys-v1.d/$(key_id)): New target.
619
620 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
621
622         * gpgsm/t-verify.c: New file.
623         * gpgsm/Makefile.am (TESTS): Add t-verify.
624
625 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
626
627         * gpg/Makefile.am (GPG): Set to @GPG_PATH@.
628         (./pubring.gpg): Use $(GPG) instead gpg.
629         (./secring.gpg): Likewise.
630
631         * gpgsm/t-import.c (main): Remove third test case.
632         * gpgsm/Makefile.am (GPGSM): Set to @GPGSM@.
633         (all-local): New target.
634         (./pubcerts.kbx): Likewise.
635         * gpgsm/t-encrypt.c: New file.
636         * gpgsm/Makefile.am (TESTS): Add t-encrypt.
637
638 2001-12-14  Marcus Brinkmann  <marcus@g10code.de>
639
640         * gpgsm/t-keylist.c: New file.
641         * gpgsm/Makefile.am (TESTS): Add t-keylist.
642
643 2001-12-13  Marcus Brinkmann  <marcus@g10code.de>
644
645         * gpgsm/cert_dfn_pca01.der: New file.
646         * gpgsm/cert_dfn_pca15.der: Likewise.
647         * gpgsm/cert_g10code_test1.der: Likewise.
648         * gpgsm/t-import.c: Likewise.
649         * gpgsm/Makefile.am (EXTRADIST): Add new files.
650         (TESTS): Add t-import.
651
652 2001-11-22  Marcus Brinkmann  <marcus@g10code.de>
653
654         * gpg/: New directory.
655         * Makefile.am, t-verify.c, t-encrypt.c, t-signers.c, t-trustlist.c,
656         t-sign.c, t-keylist.c, t-import.c, t-genkey.c, t-export.c,
657         t-decrypt-verify.c, t-decrypt.c, t-version.c, t-data.c, mkdemodirs.
658         cipher-1.asc, cipher-2.asc, geheim.txt, pubdemo.asc, pubkey-1.asc,
659         secdemo.asc, seckey-1.asc): Move to sub directory gpg/.
660
661         * gpg/Makefile.am (INCLUDES): Include gpgme/, not include/ and
662         intl/.
663         (LDD): Correct relative path to gpgme library.
664         (TESTS): Remove t-version and t-data.
665         * gpg/t-verify.c, gpg/t-encrypt.c, gpg/t-signers.c, gpg/t-trustlist.c,
666         gpg/t-sign.c, gpg/t-keylist.c, gpg/t-import.c, gpg/t-genkey.c,
667         gpg/t-export.c, gpg/t-decrypt-verify.c, gpg/t-decrypt.c,
668         t-version.c, t-data.c): Include gpgme.h, not "../gpgme/gpgme.h".
669
670         * Makefile.am: New file.
671         * gpgsm/: New directory.
672         * gpgsm/Makefile.am: New file.
673
674 2001-11-16  Marcus Brinkmann  <marcus@g10code.de>
675
676         * Makefile.am (TESTS): Add t-decrypt-verify.
677         * t-decrypt-verify.c: New file.
678         * cipher-2.asc: Likewise.
679
680 2001-11-02  Marcus Brinkmann  <marcus@g10code.de>
681
682         * t-data.c: Include stddef.h.
683         (read_once_test): Change type of READ to size_t.
684         (read_test): Likewise.
685         (write_test): Likewise.
686
687 2001-10-29  Marcus Brinkmann  <marcus@g10code.de>
688
689         * t-signers.c: New file.
690         * Makefile.am (TESTS): Add t-signers.
691
692 2001-10-22  Marcus Brinkmann  <marcus@g10code.de>
693
694         * Makefile.am (TEST_ENVIRONMENT): Revert last change.
695
696 2001-10-22  Marcus Brinkmann  <marcus@g10code.de>
697
698         * Makefile.am (TEST_ENVIRONMENT): Set environment to $(srcdir),
699         not current directory.
700
701 2001-10-22  Marcus Brinkmann  <marcus@g10code.de>
702
703         * t-data.c (write_test): New function.
704         (main): Invoke write_test for all rounds except TEST_OUT_CB.
705
706 2001-10-22  Marcus Brinkmann  <marcus@g10code.de>
707
708         * Makefile.am (INCLUDES): Remove spurious duplicate to silence
709         automake.
710
711 2001-10-16  Marcus Brinkmann  <marcus@g10code.de>
712
713         * t-version.c: New file.
714         * t-data.c: Likewise.
715         * t-data-1.txt: Likewise.
716         * t-data-2.txt: Likewise.
717         * Makefile.am (TESTS): Add t-version, t-data.
718
719 2001-09-17  Werner Koch  <wk@gnupg.org>
720
721         * t-keylist.c (check_two_contexts): New. 
722
723 2001-09-03  Werner Koch  <wk@gnupg.org>
724
725         * t-encrypt.c (print_op_info): New and use it after each operation.. 
726
727 2001-08-28  Werner Koch  <wk@gnupg.org>
728
729         * t-sign.c (print_op_info): New and use it after each operation.
730
731 2001-03-15  Werner Koch  <wk@gnupg.org>
732
733         * t-keylist.c (doit): List subkeys too, show caps.
734
735 2001-02-13  Werner Koch  <wk@gnupg.org>
736
737         * t-verify.c (print_sig_stat): Repaled ulong by unsigned long
738         because we don't use the config stuff here.
739
740 2001-02-12  Werner Koch  <wk@gnupg.org>
741
742         * tests/t-verify.c (print_sig_stat): Print info about the keys.
743
744
745  Copyright 2001, 2004 g10 Code GmbH
746
747  This file is free software; as a special exception the author gives
748  unlimited permission to copy and/or distribute it, with or without
749  modifications, as long as this notice is preserved.
750
751  This file is distributed in the hope that it will be useful, but
752  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
753  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.