mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
agent: Or in the value; don't overwrite the variable.
* agent/call-pinentry.c (pinentry_status_cb): Or in PINENTRY_STATUS_CLOSE_BUTTON; don't overwrite *FLAG. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
d3b5cad234
commit
74944330ba
@ -727,7 +727,7 @@ pinentry_status_cb (void *opaque, const char *line)
|
||||
if ((args = has_leading_keyword (line, "BUTTON_INFO")))
|
||||
{
|
||||
if (!strcmp (args, "close"))
|
||||
*flag = PINENTRY_STATUS_CLOSE_BUTTON;
|
||||
*flag |= PINENTRY_STATUS_CLOSE_BUTTON;
|
||||
}
|
||||
else if (has_leading_keyword (line, "PIN_REPEATED"))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user