diff options
author | NIIBE Yutaka <[email protected]> | 2017-03-27 05:02:01 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-03-27 05:02:01 +0000 |
commit | c1e6302b347caf852a056b9c721469ccb51f44da (patch) | |
tree | 920546cd3c6c252c64e1d5c0c8981e1054a13d1c /g10/main.h | |
parent | scd: Change the order of applications when accessed. (diff) | |
download | gnupg-c1e6302b347caf852a056b9c721469ccb51f44da.tar.gz gnupg-c1e6302b347caf852a056b9c721469ccb51f44da.zip |
g10: Support specifying SERIALNO for --card-status.
* g10/gpg.c (main): Allow an argument for --card-status.
* g10/card-util.c (current_card_status): Rename from card_status.
(card_status): New, which supports multiple cards.
(get_one_name): Use current_card_status.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/main.h')
-rw-r--r-- | g10/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h index 32d323b6b..96e55620f 100644 --- a/g10/main.h +++ b/g10/main.h @@ -485,7 +485,7 @@ gpg_error_t gpg_proxy_pinentry_notify (ctrl_t ctrl, #ifdef ENABLE_CARD_SUPPORT /*-- card-util.c --*/ void change_pin (int no, int allow_admin); -void card_status (estream_t fp, char *serialno, size_t serialnobuflen); +void card_status (estream_t fp, const char *serialno); void card_edit (ctrl_t ctrl, strlist_t commands); gpg_error_t card_generate_subkey (KBNODE pub_keyblock); int card_store_subkey (KBNODE node, int use); |