diff options
author | Marcus Brinkmann <mb@g10code.com> | 2004-08-17 22:06:24 +0200 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2004-08-17 22:06:24 +0200 |
commit | e5a6d2b4560f23821503cb0d20a37288c057b0a1 (patch) | |
tree | 1e9468f05f8054d193f3a50dab8ef49485a3be67 /sm | |
parent | tests/pkits: New directory (diff) | |
download | gnupg2-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/ChangeLog | 4 | ||||
-rw-r--r-- | sm/import.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sm/ChangeLog b/sm/ChangeLog index 951c8db17..0bc31c0bc 100644 --- a/sm/ChangeLog +++ b/sm/ChangeLog @@ -1,3 +1,7 @@ +2004-08-17 Marcus Brinkmann <marcus@g10code.de> + + * import.c: Fix typo in last change. + 2004-08-17 Werner Koch <wk@g10code.de> * import.c (check_and_store): Do a full validation if 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; |