summaryrefslogtreecommitdiffstats
path: root/tools/gpg-wks-server.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-03-22 11:40:01 +0100
committerWerner Koch <wk@gnupg.org>2019-03-22 11:42:55 +0100
commite847cf1df7aa55ac2af7efd39ca05882258acbfe (patch)
tree778497f2d45ded510a8dd8cc86d1c7e03fad8636 /tools/gpg-wks-server.c
parentscd: Refactor the app selection code. (diff)
downloadgnupg2-e847cf1df7aa55ac2af7efd39ca05882258acbfe.tar.xz
gnupg2-e847cf1df7aa55ac2af7efd39ca05882258acbfe.zip
wkd: New command --print-wkd-hash for gpg-wks-client.
* tools/gpg-wks-client.c (aPrintWKDHash): New. (opts) : Add "--print-wkd-hash". (main): Implement that command. (proc_userid_from_stdin): New. * tools/wks-util.c (wks_fname_from_userid): Add option HASH_ONLY. (wks_cmd_print_wkd_hash): New. -- GnuPG-bug-id: 4418 Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/gpg-wks-server.c')
-rw-r--r--tools/gpg-wks-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-wks-server.c b/tools/gpg-wks-server.c
index f83ef6528..2082fb87d 100644
--- a/tools/gpg-wks-server.c
+++ b/tools/gpg-wks-server.c
@@ -1939,7 +1939,7 @@ command_check_key (const char *userid)
char *addrspec = NULL;
char *fname = NULL;
- err = wks_fname_from_userid (userid, &fname, &addrspec);
+ err = wks_fname_from_userid (userid, 0, &fname, &addrspec);
if (err)
goto leave;