1
0
Fork 0
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:
Werner Koch 2006-11-14 14:53:42 +00:00
parent 650293c4f6
commit a98ea89fa5
8 changed files with 124 additions and 1 deletions

View file

@ -117,7 +117,7 @@ agent_write_private_key (const unsigned char *grip,
xfree (fname);
return tmperr;
}
bump_key_eventcounter ();
xfree (fname);
return 0;
}