From 55ac5eed9f59081283d34098a9e0ada753d61d59 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 21 Mar 2017 11:16:16 +0100 Subject: core: Extend gpgme_get_dirinfo to return the gpg-wks-client name. * src/dirinfo.c (WANT_GPG_WKS_CLIENT_NAME): New const. (struct dirinfo): New field 'gpg_wks_client_name'. (get_gpgconf_item): Build it on demand. (gpgme_get_dirinfo): New value "gpg-wks-client-name" for WHAT. Signed-off-by: Werner Koch --- tests/t-engine-info.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/t-engine-info.c') diff --git a/tests/t-engine-info.c b/tests/t-engine-info.c index 8f617f9a..43257eb0 100644 --- a/tests/t-engine-info.c +++ b/tests/t-engine-info.c @@ -125,7 +125,9 @@ main (int argc, char **argv ) "gpgconf-name", "gpg-name", "gpgsm-name", - "g13-name", NULL }; + "g13-name", + "gpg-wks-client-name", + NULL }; const char *s; int i; -- cgit v1.2.3