summaryrefslogtreecommitdiffstats
path: root/sm/import.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2004-08-17 22:06:24 +0200
committerMarcus Brinkmann <mb@g10code.com>2004-08-17 22:06:24 +0200
commite5a6d2b4560f23821503cb0d20a37288c057b0a1 (patch)
tree1e9468f05f8054d193f3a50dab8ef49485a3be67 /sm/import.c
parenttests/pkits: New directory (diff)
downloadgnupg2-e5a6d2b4560f23821503cb0d20a37288c057b0a1.tar.xz
gnupg2-e5a6d2b4560f23821503cb0d20a37288c057b0a1.zip
2004-08-17 Marcus Brinkmann <marcus@g10code.de>
* import.c: Fix typo in last change.
Diffstat (limited to '')
-rw-r--r--sm/import.c2
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;