agent: Ask specific SERIALNO for pksign/pkdecrypt.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 16 Jan 2017 01:33:08 +0000 (10:33 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 16 Jan 2017 01:33:08 +0000 (10:33 +0900)
commit0801f49b0dc7102943f0e9fa51061f50f5708ca6
treef80e1e756a5099b781cd684570a0e3099b9e2d98
parent2e6f1c99d4f66a23a752092397e20a84964edf48
agent: Ask specific SERIALNO for pksign/pkdecrypt.

* agent/call-scd.c (agent_card_serialno): Add DEMAND argument.
* agent/command-ssh.c (card_key_available): Follow the change.
* agent/learncard.c (agent_handle_learn): Likewise.
* agent/divert-scd.c (ask_for_card): Use DEMAND argument.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/agent.h
agent/call-scd.c
agent/command-ssh.c
agent/divert-scd.c
agent/learncard.c