aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/command.c')
-rw-r--r--scd/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scd/command.c b/scd/command.c
index fab65860b..925fd7597 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -698,7 +698,9 @@ pin_cb (void *opaque, const char *info, char **retstr)
/* Fixme: Write an inquire function which returns the result in
secure memory and check all further handling of the PIN. */
+ assuan_begin_confidential (ctx);
rc = assuan_inquire (ctx, command, &value, &valuelen, MAXLEN_PIN);
+ assuan_end_confidential (ctx);
xfree (command);
if (rc)
return rc;