summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-05-25 06:49:21 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2022-05-25 06:49:21 +0200
commit8e859331eafc8e7cfd0f366248134531fea0d074 (patch)
tree7b96d3e659815716a957b26edeb1b899d3f9e185
parentscd: Support automatic card selection for READCERT with keygrip. (diff)
downloadgnupg2-8e859331eafc8e7cfd0f366248134531fea0d074.tar.xz
gnupg2-8e859331eafc8e7cfd0f366248134531fea0d074.zip
agent: Add missing assuan_end_confidential call.
* agent/command.c (send_back_passphrase): Fix. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r--agent/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/command.c b/agent/command.c
index a021eef26..052f9db48 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -1694,6 +1694,7 @@ send_back_passphrase (assuan_context_t ctx, int via_data, const char *pw)
xfree (p);
}
}
+ assuan_end_confidential (ctx);
return rc;
}