mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* call-agent.c (learn_cb): Special treatment when the issuer
certificate is missing.
This commit is contained in:
parent
fd2f1c8aa3
commit
a8e9b350c0
12 changed files with 69 additions and 58 deletions
|
@ -236,7 +236,7 @@ gpgsm_add_to_certlist (CTRL ctrl, const char *name, int secret,
|
|||
}
|
||||
}
|
||||
if (!rc)
|
||||
rc = gpgsm_validate_path (ctrl, cert, NULL);
|
||||
rc = gpgsm_validate_chain (ctrl, cert, NULL);
|
||||
if (!rc)
|
||||
{
|
||||
CERTLIST cl = xtrycalloc (1, sizeof *cl);
|
||||
|
@ -271,7 +271,7 @@ gpgsm_release_certlist (CERTLIST list)
|
|||
|
||||
|
||||
/* Like gpgsm_add_to_certlist, but look only for one certificate. No
|
||||
path validation is done */
|
||||
chain validation is done */
|
||||
int
|
||||
gpgsm_find_cert (const char *name, KsbaCert *r_cert)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue