summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scd/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app.c b/scd/app.c
index 6a583d4c2..f772510c3 100644
--- a/scd/app.c
+++ b/scd/app.c
@@ -548,7 +548,7 @@ app_new_register (int slot, ctrl_t ctrl, const char *name,
size_t atrlen;
/* This is heuristics to identify different implementations. */
- atr = apdu_get_atr (app_get_slot (app), &atrlen);
+ atr = apdu_get_atr (slot, &atrlen);
if (atr)
{
if (atrlen == 21 && atr[2] == 0x11)