aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t-engine-info.c
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-01-18 09:30:17 +0000
committerIngo Klöcker <[email protected]>2023-01-18 09:30:17 +0000
commit12e490d97f2e7064bc9b5bea0d197790d10db106 (patch)
tree68c3dfd2b26fd21dd7d76e833189cd1bd3d0f3e6 /tests/t-engine-info.c
parentcore: Use "goto leave" pattern to clean up resources (diff)
downloadgpgme-12e490d97f2e7064bc9b5bea0d197790d10db106.tar.gz
gpgme-12e490d97f2e7064bc9b5bea0d197790d10db106.zip
core: Extend gpgme_get_dirinfo to return the gpgtar name
* src/dirinfo.c (WANT_GPGTAR_NAME): New. (dirinfo): Add field gpgtar_name. (get_gpgconf_item): Build gpgtar_name on demand and return it. (_gpgme_get_default_gpgtar_name) : New. (gpgme_get_dirinfo): New value "gpgtar-name" for WHAT. * src/util.h (_gpgme_get_default_gpgtar_name): New. * tests/t-engine-info.c (main): Add gpgtar-name to the output. GnuPG-bug-id: 6342
Diffstat (limited to '')
-rw-r--r--tests/t-engine-info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/t-engine-info.c b/tests/t-engine-info.c
index 3f8d0037..1a351391 100644
--- a/tests/t-engine-info.c
+++ b/tests/t-engine-info.c
@@ -133,6 +133,7 @@ main (int argc, char **argv )
"dirmngr-name",
"pinentry-name",
"gpg-wks-client-name",
+ "gpgtar-name",
NULL };
const char *s;
int i;