1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-27 21:41:23 +02:00

scd: Fix pinpad handling when KDF enabled.

* scd/app-openpgp.c (do_getattr): Send the KDF DO information.

--

Fixes-commit: 95c7498b76
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit 11da441016)
This commit is contained in:
NIIBE Yutaka 2020-02-28 15:56:53 +09:00 committed by Werner Koch
parent b27e20a95c
commit 133248b297
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1124,6 +1124,8 @@ do_getattr (app_t app, ctrl_t ctrl, const char *name)
app->app_local->pinpad.disabled = 1; app->app_local->pinpad.disabled = 1;
else else
app->app_local->pinpad.disabled = 0; app->app_local->pinpad.disabled = 0;
send_status_info (ctrl, table[idx].name, value, valuelen, NULL, 0);
} }
else else
send_status_info (ctrl, table[idx].name, value, valuelen, NULL, 0); send_status_info (ctrl, table[idx].name, value, valuelen, NULL, 0);