summaryrefslogtreecommitdiffstats
path: root/g10/call-dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-03-12 18:24:52 +0100
committerWerner Koch <wk@gnupg.org>2014-03-12 18:35:36 +0100
commit6dd5d99a61f24aff862ccba9f7410d7f1af87c05 (patch)
tree2fbd908268f7bf2b614884edabe09f2e00df5627 /g10/call-dirmngr.c
parentdirmngr: Detect dead keyservers and try another one. (diff)
downloadgnupg2-6dd5d99a61f24aff862ccba9f7410d7f1af87c05.tar.xz
gnupg2-6dd5d99a61f24aff862ccba9f7410d7f1af87c05.zip
gpg: Add option --dirmngr-program.
* g10/gpg.c: Add option --dirmngr-program. * g10/options.h (struct opt): Add field dirmngr_program. * g10/call-dirmngr.c (create_context): Use new var. * dirmngr/dirmngr.c: Include gc-opt-flags.h. (main): Remove GC_OPT_FLAG_*. * tools/gpgconf-comp.c (GC_OPT_FLAG_NO_CHANGE): Move macro to ... * common/gc-opt-flags.h: here.
Diffstat (limited to 'g10/call-dirmngr.c')
-rw-r--r--g10/call-dirmngr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/call-dirmngr.c b/g10/call-dirmngr.c
index 2310d8bd7..993533377 100644
--- a/g10/call-dirmngr.c
+++ b/g10/call-dirmngr.c
@@ -121,7 +121,7 @@ create_context (ctrl_t ctrl, assuan_context_t *r_ctx)
err = start_new_dirmngr (&ctx,
GPG_ERR_SOURCE_DEFAULT,
opt.homedir,
- NULL,
+ opt.dirmngr_program,
opt.verbose, DBG_ASSUAN,
NULL /*gpg_status2*/, ctrl);
if (!err)