Diffusion GnuPG 51b722c6f57b

wks: Move a few server functions to wks-util.

Authored by werner on Tue, Dec 4, 9:45 AM.

Description

wks: Move a few server functions to wks-util.

* tools/gpg-wks-server.c (write_to_file): Move to ...
* tools/wks-util.c: here.
* tools/gpg-wks-server.c (compute_hu_fname): Move to ...
* tools/wks-util.c (wks_compute_hu_fname): here.
* tools/gpg-wks-server.c (fname_from_userid): Move to ...
* tools/wks-util.c (wks_fname_from_userid): here.
* tools/gpg-wks-server.c (command_install_key): Move to ...
* tools/wks-util.c (wks_cmd_install_key): here and change caller.
* tools/gpg-wks-server.c (command_remove_key): Move to ...
* tools/wks-util.c (wks_cmd_remove_key): here and change callers.

(cherry picked from commit 99094c992c20dd22971beb3527cfda109cd1df89)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerWed, Dec 5, 8:41 AM
Parents
rG6008410e512c: g10/mainproc: disable hash contexts when --skip-verify is used
Branches
Unknown
Tags
Unknown