aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/apdu.c')
-rw-r--r--scd/apdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/apdu.c b/scd/apdu.c
index 6d7f59dd1..8c8f7aa6a 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -3267,7 +3267,7 @@ apdu_send_direct (int slot, size_t extended_length,
}
#undef SHORT_RESULT_BUFFER_SIZE
- if ((sw = trylock_slot (slot)))
+ if ((sw = lock_slot (slot)))
{
xfree (apdu_buffer);
xfree (result_buffer);