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>
This commit is contained in:
Werner Koch 2016-07-13 12:12:21 +02:00
parent 44ecc33b4a
commit 95810929f7
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 1 additions and 1 deletions

View File

@ -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);