scd: Fix Yubikey app switching problem
* scd/app.c (select_all_additional_applications_internal): Re-select first app. Add arg 'ctrl'.
Usually keygrip based access to the Yubikey does a switching back and
forth and thus keeps the card and scdaemon's internal state in sync.
However, if we do only a listing scdaemon did not reselect the first
application (e.g. OpenPGP) after adding other applications (e.g. PIV)
and thus led to wrong info returned in a listing.
- Signed-off-by: Werner Koch <wk@gnupg.org>