mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
scd:piv: Add the do_with_keygrip feature.
* scd/app-piv.c (do_with_keygrip): New. (app_select_piv): Register function. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
c594dcfc93
commit
e900bf2973
2 changed files with 95 additions and 0 deletions
|
@ -1874,6 +1874,10 @@ cmd_keyinfo (assuan_context_t ctx, char *line)
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/* Send a keyinfo string as used by the KEYGRIP_ACTION_SEND_DATA. If
|
||||
* DATA is true the string is emitted as a data line, else as a status
|
||||
* line. */
|
||||
void
|
||||
send_keyinfo (ctrl_t ctrl, int data, const char *keygrip_str,
|
||||
const char *serialno, const char *idstr)
|
||||
|
@ -1895,6 +1899,8 @@ send_keyinfo (ctrl_t ctrl, int data, const char *keygrip_str,
|
|||
xfree (string);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Tell the assuan library about our commands */
|
||||
static int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue