aboutsummaryrefslogtreecommitdiffstats
path: root/sm/sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/sign.c')
-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;