gnupg/scd
NIIBE Yutaka 79cea89774 scd: Cleanup SERIALNO protocol.
* scd/app.c (app_get_serial_and_stamp): Remove.
(app_get_serialno): New.
(app_write_learn_status): Use send_status_direct.
(app_getattr): Use app_get_serialno for SERIALNO and
send with send_status_direct.
* scd/app-openpgp.c (do_getattr): Likewise.
* scd/command.c (cmd_serialno): Don't send TIMESTAMP of 0.
(cmd_learn): Likewise.  Don't inquire with TIMESTAMP of 0.

--

In the SERIALNO protocol, timestamp used to be considered, but had never
used at all.  In the new implementation, removed card/token is always
detected and connection becomes invalid, no timestamp is required any
more.  Examined scute and poldi as well for this protocol change.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2017-01-18 16:03:47 +09:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
apdu.c scd: Fix for --disable-ccid for scdaemon. 2017-01-06 10:35:46 +09:00
apdu.h scd: Support multiple readers by CCID driver. 2017-01-06 09:47:31 +09:00
app-common.h scd: Cleanup SERIALNO protocol. 2017-01-18 16:03:47 +09:00
app-dinsig.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-geldkarte.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-help.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-nks.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-openpgp.c scd: Cleanup SERIALNO protocol. 2017-01-18 16:03:47 +09:00
app-p15.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-sc-hsm.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app.c scd: Cleanup SERIALNO protocol. 2017-01-18 16:03:47 +09:00
atr.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd: Support multiple readers by CCID driver. 2017-01-06 09:47:31 +09:00
ccid-driver.h scd: Support multiple readers by CCID driver. 2017-01-06 09:47:31 +09:00
command.c scd: Cleanup SERIALNO protocol. 2017-01-18 16:03:47 +09:00
iso7816.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
iso7816.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c scd: Fix a race condition for new_reader_slot. 2016-12-29 10:07:43 +09:00
scdaemon.h scd: Fix card removal monitor. 2016-12-30 13:17:49 +09:00