scd: call update_card_removed only when detecting removal
Werner Koch
wk at gnupg.org
Mon Mar 25 10:17:52 CET 2013
On Mon, 25 Mar 2013 05:33, gniibe at fsij.org said:
> In the past, the thread of scd_update_reader_status_file polls (at the
> period of 0.5 second) to detect card availability, so it is mostly
> this thread which calls do_reset. I think that this is the reason why
> this bug hasn't been caught. Still, this is a bug, because there is a
Good catch. Thanks.
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-devel
mailing list