From 0819c1e8ca8b02a1191fc0087a8046bce6770fff Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 13 Feb 2008 16:47:14 +0000 Subject: Always search missing certifcates using a running Dirmngr's cache. --- sm/sign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sm/sign.c') 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; -- cgit v1.2.3