From e5a6d2b4560f23821503cb0d20a37288c057b0a1 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 17 Aug 2004 20:06:24 +0000 Subject: 2004-08-17 Marcus Brinkmann * import.c: Fix typo in last change. --- sm/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sm/import.c') 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; -- cgit v1.2.3