1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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

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