agent: Fix verification of signature for smartcard.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 6 Oct 2015 06:10:25 +0000 (15:10 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 6 Oct 2015 06:10:25 +0000 (15:10 +0900)
commit4a5bd1720f5a3dbb26f5daeb03725cae29be7e24
tree2cae19cba6bc9720b355d122cfbbd487583d45a0
parentce2a84b58833fd308d5fe11756721f39c953280a
agent: Fix verification of signature for smartcard.

* agent/pksign.c (agent_pksign_do): Use public key smartcard.

--

Since gcry_pk_verify can't handle shadowed private key, public
key SEXP should be prepared for smartcard.
agent/pksign.c