aboutsummaryrefslogtreecommitdiffstats
path: root/sm/sign.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-02-13 16:47:14 +0000
committerWerner Koch <[email protected]>2008-02-13 16:47:14 +0000
commit0819c1e8ca8b02a1191fc0087a8046bce6770fff (patch)
treefa756b18d2ec580b22b77f0ffec468be76ec79f1 /sm/sign.c
parent2008-02-09 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-0819c1e8ca8b02a1191fc0087a8046bce6770fff.tar.gz
gnupg-0819c1e8ca8b02a1191fc0087a8046bce6770fff.zip
Always search missing certifcates using a running Dirmngr's cache.
Diffstat (limited to '')
-rw-r--r--sm/sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/sign.c b/sm/sign.c
index d8e8451bf..a6d02e929 100644
--- a/sm/sign.c
+++ b/sm/sign.c
@@ -272,7 +272,7 @@ add_certificate_list (ctrl_t ctrl, ksba_cms_t cms, ksba_cert_t cert)
/* Walk the chain to include all other certificates. Note that a -1
used for N makes sure that there is no limit and all certs get
included. */
- while ( n-- && !(rc = gpgsm_walk_cert_chain (cert, &next)) )
+ while ( n-- && !(rc = gpgsm_walk_cert_chain (ctrl, cert, &next)) )
{
if (not_root && gpgsm_is_root_cert (next))
err = 0;