Home GnuPG
Diffusion GnuPG e276f63e4a80

gpgtar: Make --files-from and --null work as described.

Description

gpgtar: Make --files-from and --null work as described.

* tools/gpgtar-create.c (gpgtar_create): Add args files_from and
null_names.  Improve reading from a file.
* tools/gpgtar.c: Make global vars static.
(main): Remove tests for --files-from and --null option combinations.
Pass option variables to gpgtar_create.
  • GnuPG-bug-id: T5027
  • Signed-off-by: Werner Koch <wk@gnupg.org>