mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent: Create and use Token entries to track the display s/n.
* agent/findkey.c (agent_write_private_key): Add arg dispserialno and update the token. (agent_write_shadow_key): Add arg dispserialno and adjust all callers. -- GnuPG-bug-id: 6135 Note that this has been forward ported from 2.2
This commit is contained in:
parent
ec0c35d1b8
commit
1d23dc9389
10 changed files with 102 additions and 29 deletions
|
@ -67,7 +67,8 @@ store_key (gcry_sexp_t private, const char *passphrase, int force,
|
|||
buf = p;
|
||||
}
|
||||
|
||||
rc = agent_write_private_key (grip, buf, len, force, NULL, NULL, timestamp);
|
||||
rc = agent_write_private_key (grip, buf, len, force,
|
||||
NULL, NULL, NULL, timestamp);
|
||||
xfree (buf);
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue