diff options
author | Werner Koch <[email protected]> | 2023-05-26 09:59:46 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-05-26 12:27:16 +0000 |
commit | 1d23dc9389a12600a1002600f97dcff659cede44 (patch) | |
tree | ead5c3fb857b6bd3b588118a3739f15861ede180 /agent/genkey.c | |
parent | common: New function nve_set (diff) | |
download | gnupg-1d23dc9389a12600a1002600f97dcff659cede44.tar.gz gnupg-1d23dc9389a12600a1002600f97dcff659cede44.zip |
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
Diffstat (limited to 'agent/genkey.c')
-rw-r--r-- | agent/genkey.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/genkey.c b/agent/genkey.c index 563407253..cf37cdafc 100644 --- a/agent/genkey.c +++ b/agent/genkey.c @@ -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; } |