1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

wks: Try to send an encrypted confirmation back.

* tools/gpg-wks-client.c (encrypt_response_status_cb): New.
(encrypt_response): New.
(send_confirmation_response): Encrypt the response.

* tools/gpg-wks-server.c (send_confirmation_request): Use freeing of
BODY and BODYENC.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2016-07-12 17:27:15 +02:00
parent d3837e0435
commit 5de41c4ece
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 157 additions and 47 deletions

View file

@ -904,8 +904,8 @@ send_confirmation_request (server_ctx_t ctx,
leave:
mime_maker_release (mime);
xfree (bodyenc);
xfree (body);
es_fclose (bodyenc);
es_fclose (body);
xfree (from_buffer);
return err;
}