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:
parent
44ecc33b4a
commit
95810929f7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user