aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-gpgconf.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-06-19 18:38:28 +0000
committerWerner Koch <[email protected]>2008-06-19 18:38:28 +0000
commit63ea0d66630d2d790f82d744ee88b51b7e3c3b59 (patch)
tree5d0b344a8812c3aee65bfd8091698570820ea120 /tests/gpg/t-gpgconf.c
parentAdd new types to the gpgconf interface. (diff)
downloadgpgme-63ea0d66630d2d790f82d744ee88b51b7e3c3b59.tar.gz
gpgme-63ea0d66630d2d790f82d744ee88b51b7e3c3b59.zip
Add example.
Update gpgconf test.
Diffstat (limited to '')
-rw-r--r--tests/gpg/t-gpgconf.c6
1 files changed, 5 insertions, 1 deletions
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: