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
1 changed files with 2 additions and 0 deletions

View File

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