aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certchain.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/certchain.c')
-rw-r--r--sm/certchain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/certchain.c b/sm/certchain.c
index ea4a3792a..bd130494b 100644
--- a/sm/certchain.c
+++ b/sm/certchain.c
@@ -701,7 +701,7 @@ gpgsm_validate_chain (ctrl_t ctrl, ksba_cert_t cert, ksba_isotime_t r_exptime,
for (;;)
{
int is_root;
- gpg_error_t istrusted_rc;
+ gpg_error_t istrusted_rc = -1;
struct rootca_flags_s rootca_flags;
xfree (issuer);