CTK: fixed initializing ATR and UID

This commit is contained in:
Frank Morgner 2017-09-27 10:53:12 +02:00
parent baa709ff74
commit 2494765cdc
1 changed files with 2 additions and 0 deletions

View File

@ -329,6 +329,8 @@ int cryptotokenkit_use_reader(sc_context_t *ctx, void *pcsc_context_handle, void
/* attempt to detect protocol in use T0/T1/RAW */
ctk_set_proto(reader);
cryptotokenkit_detect_card_presence(reader);
r = _sc_add_reader(ctx, reader);
err: