summaryrefslogtreecommitdiffstats
path: root/tools/gpg-wks-client.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-07-13 12:12:21 +0200
committerWerner Koch <wk@gnupg.org>2016-07-13 12:12:21 +0200
commit95810929f75bd718dbdf2cd1c0181137a45e2456 (patch)
tree061ea3cf6f27601a1b73d83e27e3d4f97bc7ff51 /tools/gpg-wks-client.c
parentwks: New server command --list-domains (diff)
downloadgnupg2-95810929f75bd718dbdf2cd1c0181137a45e2456.tar.xz
gnupg2-95810929f75bd718dbdf2cd1c0181137a45e2456.zip
wks: Use correct key for the confirmation
* tools/gpg-wks-client.c (send_confirmation_response): Actually encrypt to the recipient. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/gpg-wks-client.c')
-rw-r--r--tools/gpg-wks-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-wks-client.c b/tools/gpg-wks-client.c
index ca7ec705b..2ee23d7cb 100644
--- a/tools/gpg-wks-client.c
+++ b/tools/gpg-wks-client.c
@@ -581,7 +581,7 @@ send_confirmation_response (const char *sender, const char *address,
es_rewind (body);
if (encrypt)
{
- err = encrypt_response (&bodyenc, body, address);
+ err = encrypt_response (&bodyenc, body, sender);
if (err)
goto leave;
es_fclose (body);