mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
scd: Fix keygrip search.
* scd/app.c (app_do_with_keygrip): Break the entire loop.
Fixes-commit: 5a5288d051
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
96bf8f4778
commit
39c40e572c
1 changed files with 3 additions and 1 deletions
|
@ -1706,10 +1706,12 @@ app_do_with_keygrip (ctrl_t ctrl, int action, const char *keygrip_str)
|
||||||
err = a->fnc.with_keygrip (a, ctrl, action, keygrip_str);
|
err = a->fnc.with_keygrip (a, ctrl, action, keygrip_str);
|
||||||
unlock_card (c);
|
unlock_card (c);
|
||||||
if (!err)
|
if (!err)
|
||||||
break;
|
goto leave_the_loop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
leave_the_loop:
|
||||||
|
|
||||||
/* FIXME: Add app switching logic. The above code assumes that the
|
/* FIXME: Add app switching logic. The above code assumes that the
|
||||||
* actions can be performend without switching. This needs to be
|
* actions can be performend without switching. This needs to be
|
||||||
* checked. */
|
* checked. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue