mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
New command GETEVENTCOUNTER.
* command.c (bump_key_eventcounter): New. (bump_card_eventcounter): New. (cmd_geteventcounter): New command. * gpg-agent.c (handle_signal): Call bump_card_eventcounter. * findkey.c (agent_write_private_key): Call bump_key_eventcounter. * trustlist.c (agent_reload_trustlist): Ditto.
This commit is contained in:
parent
650293c4f6
commit
a98ea89fa5
8 changed files with 124 additions and 1 deletions
|
@ -117,7 +117,7 @@ agent_write_private_key (const unsigned char *grip,
|
|||
xfree (fname);
|
||||
return tmperr;
|
||||
}
|
||||
|
||||
bump_key_eventcounter ();
|
||||
xfree (fname);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue