summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c
index 8b357e6..24bf396 100644
--- a/src/client.c
+++ b/src/client.c
@@ -275,6 +275,8 @@ assuan_transact (assuan_context_t ctx,
else
{
rc = data_cb (data_cb_arg, line, linelen);
+ if (ctx->flags.confidential)
+ wipememory (ctx->inbound.line, LINELENGTH);
if (!rc)
goto again;
}