agent: pksign result conversion to sexp to upper layer.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 28 Feb 2013 02:17:47 +0000 (11:17 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 28 Feb 2013 02:17:47 +0000 (11:17 +0900)
commitef1983d58b913306e9bf02a7189e530123839c59
tree2ab0c7c692bb25c425f6436df13f7fe13126c67f
parent585d5c62eece23911a768d97d11f159be138b13d
agent: pksign result conversion to sexp to upper layer.

* agent/agent.h (divert_pksign): Add R_SIGLEN argument.
* agent/divert-scd.c (divert_pksign): Return length at R_SIGLEN.
* agent/call-scd.c (agent_card_pksign): Move composition of
S-expression to...
* agent/pksign.c (agent_pksign_do): ... here.
--

Composing S-expression would be better to be done by SCDaemon.
agent/agent.h
agent/call-scd.c
agent/divert-scd.c
agent/pksign.c