diff options
author | Werner Koch <wk@gnupg.org> | 2016-07-13 12:12:21 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-07-13 12:12:21 +0200 |
commit | 95810929f75bd718dbdf2cd1c0181137a45e2456 (patch) | |
tree | 061ea3cf6f27601a1b73d83e27e3d4f97bc7ff51 /tools/gpg-wks-client.c | |
parent | wks: New server command --list-domains (diff) | |
download | gnupg2-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.c | 2 |
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); |