agent: Fix cancellation handling for scdaemon.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 20 Sep 2017 01:42:28 +0000 (10:42 +0900)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 30 Aug 2018 15:57:15 +0000 (16:57 +0100)
commit181e364994b34ae4333ea8e0804116663211d30d
tree5c9680c0f406acf4221e548e22df5ecbc1a338c5
parent80e9417cc2d4af1ecb3e162836d934c4a83e84fd
agent: Fix cancellation handling for scdaemon.

* agent/call-scd.c (cancel_inquire): Remove.
(agent_card_pksign, agent_card_pkdecrypt, agent_card_writekey)
(agent_card_scd): Don't call cancel_inquire.

--

Since libassuan 2.1.0, cancellation command "CAN" is handled within
the library, by assuan_transact.  So, cancel_inquire just caused
spurious "CAN" command to scdaemon which resulted an error.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit 9f5e50e7c85aa8b847d38010241ed570ac114fc3)

Gbp-Pq: Topic from-master
Gbp-Pq: Name agent-Fix-cancellation-handling-for-scdaemon.patch
agent/call-scd.c