Diffusion GnuPG 0400a4eb1782

scd: Take the lock earlier in the function dispatchers.

Authored by werner on Jun 21 2019, 2:01 PM.

Description

scd: Take the lock earlier in the function dispatchers.

* scd/app.c: Chnage all function dispatcher.

This change will allow us to easier integrate an app swithcing logic.
The change should have no user visible effect. The error checking we
do now with the card locked will rarely be asserted. It is the
correct thing to do anyway.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerJun 21 2019, 2:01 PM
Parents
rG1b78e4951ed7: scd: Add code to check whether app switching is possible.
Branches
Unknown
Tags
Unknown