diff options
author | Werner Koch <[email protected]> | 2008-02-19 10:33:35 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-02-19 10:33:35 +0000 |
commit | f13c5a48fc092d25c6d2fb169ed018473bb24096 (patch) | |
tree | c8ef206fe4a4357da339a65856f8b35cfe8919a7 /sm/call-dirmngr.c | |
parent | We better save the description of PKITS along with the test data. (diff) | |
download | gnupg-f13c5a48fc092d25c6d2fb169ed018473bb24096.tar.gz gnupg-f13c5a48fc092d25c6d2fb169ed018473bb24096.zip |
Improve certificate chain construction.
Extend PKITS framework
Diffstat (limited to '')
-rw-r--r-- | sm/call-dirmngr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sm/call-dirmngr.c b/sm/call-dirmngr.c index 83b001b52..02a2ca8d7 100644 --- a/sm/call-dirmngr.c +++ b/sm/call-dirmngr.c @@ -166,6 +166,9 @@ start_dirmngr (ctrl_t ctrl) assuan_context_t ctx; int try_default = 0; + if (opt.disable_dirmngr) + return gpg_error (GPG_ERR_NO_DIRMNGR); + if (dirmngr_ctx) { prepare_dirmngr (ctrl, dirmngr_ctx, 0); @@ -447,7 +450,6 @@ gpgsm_dirmngr_isvalid (ctrl_t ctrl, struct inq_certificate_parm_s parm; struct isvalid_status_parm_s stparm; - rc = start_dirmngr (ctrl); if (rc) return rc; |