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.h | |
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.h')
-rw-r--r-- | tools/gpgtar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpgtar.h b/tools/gpgtar.h index 66a8ae17a..f130c94ee 100644 --- a/tools/gpgtar.h +++ b/tools/gpgtar.h @@ -30,6 +30,7 @@ struct unsigned int debug_level; int quiet; const char *gpg_program; + strlist_t gpg_arguments; const char *outfile; strlist_t recipients; const char *user; |