mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
* certpath.c (gpgsm_walk_cert_chain): Be a bit more silent on
common errors.
This commit is contained in:
parent
f63676f9ac
commit
d5a95ff130
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
* keylist.c (list_cert_colon): Fixed listing of crt record; the
|
* keylist.c (list_cert_colon): Fixed listing of crt record; the
|
||||||
issuer is not at the right place. Print a chainingID.
|
issuer is not at the right place. Print a chainingID.
|
||||||
|
* certpath.c (gpgsm_walk_cert_chain): Be a bit more silent on
|
||||||
|
common errors.
|
||||||
|
|
||||||
2002-03-21 Werner Koch <wk@gnupg.org>
|
2002-03-21 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
@ -237,7 +237,10 @@ gpgsm_walk_cert_chain (KsbaCert start, KsbaCert *r_next)
|
|||||||
rc = keydb_search_subject (kh, issuer);
|
rc = keydb_search_subject (kh, issuer);
|
||||||
if (rc)
|
if (rc)
|
||||||
{
|
{
|
||||||
log_error ("failed to find issuer's certificate: rc=%d\n", rc);
|
/* it is quite common not to have a certificate, so better don't
|
||||||
|
print an error here */
|
||||||
|
if (rc != -1 && opt.verbose > 1)
|
||||||
|
log_error ("failed to find issuer's certificate: rc=%d\n", rc);
|
||||||
rc = GNUPG_Missing_Certificate;
|
rc = GNUPG_Missing_Certificate;
|
||||||
goto leave;
|
goto leave;
|
||||||
}
|
}
|
||||||
|
@ -237,7 +237,10 @@ gpgsm_walk_cert_chain (KsbaCert start, KsbaCert *r_next)
|
|||||||
rc = keydb_search_subject (kh, issuer);
|
rc = keydb_search_subject (kh, issuer);
|
||||||
if (rc)
|
if (rc)
|
||||||
{
|
{
|
||||||
log_error ("failed to find issuer's certificate: rc=%d\n", rc);
|
/* it is quite common not to have a certificate, so better don't
|
||||||
|
print an error here */
|
||||||
|
if (rc != -1 && opt.verbose > 1)
|
||||||
|
log_error ("failed to find issuer's certificate: rc=%d\n", rc);
|
||||||
rc = GNUPG_Missing_Certificate;
|
rc = GNUPG_Missing_Certificate;
|
||||||
goto leave;
|
goto leave;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user