diff options
author | Werner Koch <[email protected]> | 2001-11-16 17:56:23 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2001-11-16 17:56:23 +0000 |
commit | 0f26760d9f550fd9aaa7d0c4f18f8571b7818142 (patch) | |
tree | f4c3c0756bdd5df1a9c370947c269fdd997542bb /sm/certpath.c | |
parent | We have reached a state where we are able to import certs and (diff) | |
download | gnupg-0f26760d9f550fd9aaa7d0c4f18f8571b7818142.tar.gz gnupg-0f26760d9f550fd9aaa7d0c4f18f8571b7818142.zip |
Base code for gpgsm --verify does work
Diffstat (limited to '')
-rw-r--r-- | sm/certpath.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sm/certpath.c b/sm/certpath.c index aef1612cc..518acfe3a 100644 --- a/sm/certpath.c +++ b/sm/certpath.c @@ -50,8 +50,7 @@ gpgsm_validate_path (KsbaCert cert) goto leave; } - log_debug ("validate path for certificate:\n"); - gpgsm_dump_cert (cert); + gpgsm_dump_cert ("subject", cert); subject_cert = cert; @@ -87,7 +86,7 @@ gpgsm_validate_path (KsbaCert cert) /* find the next cert up the tree */ keydb_search_reset (kh); - rc = keydb_search_issuer (kh, issuer); + rc = keydb_search_subject (kh, issuer); if (rc) { log_debug ("failed to find issuer's certificate: rc=%d\n", rc); @@ -105,7 +104,7 @@ gpgsm_validate_path (KsbaCert cert) } log_debug ("got issuer's certificate:\n"); - gpgsm_dump_cert (issuer_cert); + gpgsm_dump_cert ("issuer", issuer_cert); if (gpgsm_check_cert_sig (issuer_cert, subject_cert) ) { |