wks: Let the server take the encrytion key from the file.
authorWerner Koch <wk@gnupg.org>
Wed, 6 Jul 2016 13:50:57 +0000 (15:50 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 6 Jul 2016 13:50:57 +0000 (15:50 +0200)
commite5896da666551da5322b2ae5458d429b9e60241e
tree0865073ed434d077ff1d3680f73b71b03caefb18
parenta479804c86bc24bfab101f39464db3ecfbaedf6d
wks: Let the server take the encrytion key from the file.

* tools/gpg-wks-server.c (encrypt_stream): Change arg 'fingerprint' to
'keyfile'.
(store_key_as_pending): Add arg 'r_fname' to make of the keyfile.
(send_confirmation_request): Add arg 'keyfile'.
(process_new_key): Pass on the name of the keyfile.

Signed-off-by: Werner Koch <wk@gnupg.org>
tools/gpg-wks-server.c