diff options
| author | Werner Koch <[email protected]> | 2019-06-17 16:04:36 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2019-06-17 16:04:36 +0000 |
| commit | e900bf29737b3f7a09f749a271f2c5d7b59c49eb (patch) | |
| tree | 224c89a5a3436e686185692a92af8803071cce4a /scd/command.c | |
| parent | scd: Add explict functions for 'app' reference counting. (diff) | |
| download | gnupg-e900bf29737b3f7a09f749a271f2c5d7b59c49eb.tar.gz gnupg-e900bf29737b3f7a09f749a271f2c5d7b59c49eb.zip | |
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 <[email protected]>
Diffstat (limited to 'scd/command.c')
| -rw-r--r-- | scd/command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scd/command.c b/scd/command.c index 426615c8b..4f4005458 100644 --- a/scd/command.c +++ b/scd/command.c @@ -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 |
