Home GnuPG
Diffusion GnuPG ec5591dc4e1f

scd: Fix close_pcsc_reader.

Description

scd: Fix close_pcsc_reader.

* scd/apdu.c (close_pcsc_reader): Don't touch .RDRNAME field.
(apdu_dev_list_finish): Clear .RDRNAME field and replace call of
close_pcsc_reader by release_pcsc_context.  Add assertion.
  • GnuPG-bug-id: T5416
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>