agent,scd: Make sure to set CONFIDENTIAL flag in Assuan.
* agent/call-scd.c (inq_needpin): Call assuan_begin_confidential and assuan_end_confidential, and wipe the memory after use. * agent/command.c (cmd_preset_passphrase): Likewise. * scd/command.c (pin_cb): Likewise.
Backport the change of master commit of:
052f58422dca1044aba7acb4cf57416e7a8cb01f
- GnuPG-bug-id: T5977
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>