Home GnuPG
Diffusion GnuPG 51b722c6f57b

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

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

Provenance
wernerAuthored on Dec 4 2018, 9:45 AM
Parents
rG6008410e512c: g10/mainproc: disable hash contexts when --skip-verify is used
Branches
Unknown
Tags
Unknown