agent: Minor change to the KEYTOCARD command.
authorWerner Koch <wk@gnupg.org>
Tue, 5 Mar 2019 11:08:27 +0000 (12:08 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 5 Mar 2019 11:08:27 +0000 (12:08 +0100)
commitbcc89a6df24c79690436340f65c7ab13c65c2c45
tree468d19f96c0648f2c210ad57009703596ac0e280
parent86c241a8c9a952ea8007066b70b04f435e2e483e
agent: Minor change to the KEYTOCARD command.

* agent/command.c (cmd_keytocard): Make timestamp optional.  Use
modern parser function.
* agent/call-scd.c (agent_card_writekey): Rename an arg and for
clarity return gpg_error_t instead of int.
* agent/divert-scd.c (divert_writekey): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/agent.h
agent/call-scd.c
agent/command.c
agent/divert-scd.c