diff options
author | Justus Winter <[email protected]> | 2015-11-26 14:36:52 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2015-11-26 14:36:52 +0000 |
commit | 69a8440f44fa025e33a4cc32d17695c9ac385043 (patch) | |
tree | 9197a5c28bedac413fde5b1da44f36d50b411e97 /tools/gpgtar-create.c | |
parent | common: Make the GPG arguments configurable in call-gpg. (diff) | |
download | gnupg-69a8440f44fa025e33a4cc32d17695c9ac385043.tar.gz gnupg-69a8440f44fa025e33a4cc32d17695c9ac385043.zip |
tools/gpgtar: Handle '--gpg-args'.
* tools/gpgtar-create.c (gpgtar_create): Use given arguments.
* tools/gpgtar-extract.c (gpgtar_extract): Likewise.
* tools/gpgtar-list.c (gpgtar_list): Likewise.
* tools/gpgtar.c (enum cmd_and_opt_values): New value.
(opts): Add 'gpg-args'.
(parse_arguments): Handle arguments.
* tools/gpgtar.h (opt): Add field 'gpg_arguments'.
* tests/openpgp/gpgtar.test: Simplify accordingly.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tools/gpgtar-create.c')
-rw-r--r-- | tools/gpgtar-create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpgtar-create.c b/tools/gpgtar-create.c index 774fcd37f..cc82889ab 100644 --- a/tools/gpgtar-create.c +++ b/tools/gpgtar-create.c @@ -894,7 +894,7 @@ gpgtar_create (char **inpattern, int encrypt) err = gpg_encrypt_stream (NULL, opt.gpg_program, - NULL, + opt.gpg_arguments, outstream, opt.recipients, cipher_stream); |