summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-07-20 09:06:36 +0200
committerWerner Koch <wk@gnupg.org>2004-07-20 09:06:36 +0200
commit08b98804e429e1282a8921f6261ec27c88c43827 (patch)
tree7bdf2538a34132e89ac57f4ef54897144a060aad
parent(reader_table_s): Add function pointers for the backends. (diff)
downloadgnupg2-08b98804e429e1282a8921f6261ec27c88c43827.tar.xz
gnupg2-08b98804e429e1282a8921f6261ec27c88c43827.zip
(gpgsm_validate_chain): The trust check didn't
worked anymore, probably due to the changes at 2003-03-04. Fixed.
-rw-r--r--sm/ChangeLog5
-rw-r--r--sm/certchain.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/sm/ChangeLog b/sm/ChangeLog
index c1a8f6411..5571540be 100644
--- a/sm/ChangeLog
+++ b/sm/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-20 Werner Koch <wk@gnupg.org>
+
+ * certchain.c (gpgsm_validate_chain): The trust check didn't
+ worked anymore, probably due to the changes at 2003-03-04. Fixed.
+
2004-06-06 Werner Koch <wk@gnupg.org>
* certreqgen.c (get_parameter_uint, create_request): Create
diff --git a/sm/certchain.c b/sm/certchain.c
index 3009c21aa..8d54767f8 100644
--- a/sm/certchain.c
+++ b/sm/certchain.c
@@ -701,6 +701,9 @@ gpgsm_validate_chain (ctrl_t ctrl, ksba_cert_t cert, ksba_isotime_t r_exptime,
gpg_strerror (rc));
}
+ if (rc)
+ goto leave;
+
/* Check for revocations etc. */
if ((flags & 1))
rc = 0;