diff options
Diffstat (limited to '')
-rw-r--r-- | sm/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/import.c b/sm/import.c index 5d3484d92..836ac0877 100644 --- a/sm/import.c +++ b/sm/import.c @@ -183,7 +183,7 @@ check_and_store (CTRL ctrl, struct stats_s *stats, ksba_cert_t cert, int depth) rc = gpgsm_basic_cert_check (cert); if (!rc && ctrl->with_validation) rc = gpgsm_validate_chain (ctrl, cert, NULL, 0, NULL, 0); - if (!rc || (!ctrl->with-validation + if (!rc || (!ctrl->with_validation && gpg_err_code (rc) == GPG_ERR_MISSING_CERT) ) { int existed; |