From 63ea0d66630d2d790f82d744ee88b51b7e3c3b59 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 19 Jun 2008 18:38:28 +0000 Subject: Add example. Update gpgconf test. --- tests/ChangeLog | 5 +++++ tests/gpg/t-gpgconf.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ChangeLog b/tests/ChangeLog index 2815c680..060c12ff 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2008-06-19 Werner Koch + + * gpg/t-gpgconf.c (dump_arg): Add new types. Print strings in + quotes. + 2008-01-28 Marcus Brinkmann * gpg/Makefile.am (DISTCLEANFILES): Add pubring.kbx~. diff --git a/tests/gpg/t-gpgconf.c b/tests/gpg/t-gpgconf.c index 8d9fb200..8e487b7a 100644 --- a/tests/gpg/t-gpgconf.c +++ b/tests/gpg/t-gpgconf.c @@ -104,7 +104,11 @@ dump_arg (int type, gpgme_conf_arg_t arg) case GPGME_CONF_STRING: case GPGME_CONF_PATHNAME: case GPGME_CONF_LDAP_SERVER: - printf ("%s", arg->value.string); + case GPGME_CONF_KEY_FPR: + case GPGME_CONF_PUB_KEY: + case GPGME_CONF_SEC_KEY: + case GPGME_CONF_ALIAS_LIST: + printf ("`%s'", arg->value.string); break; case GPGME_CONF_UINT32: -- cgit v1.2.3