summaryrefslogtreecommitdiffstats
path: root/sm/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/keylist.c')
-rw-r--r--sm/keylist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sm/keylist.c b/sm/keylist.c
index 51a066dab..b744a157f 100644
--- a/sm/keylist.c
+++ b/sm/keylist.c
@@ -529,7 +529,9 @@ print_names_raw (FILE *fp, int indent, ksba_name_t name)
for (idx=0; (s = ksba_name_enum (name, idx)); idx++)
{
char *p = ksba_name_get_uri (name, idx);
- printf ("%*s%s\n", idx||indent_all?indent:0, "", p?p:s);
+ printf ("%*s", idx||indent_all?indent:0, "");
+ print_sanitized_string (fp, p?p:s, 0);
+ putc ('\n', fp);
xfree (p);
}
}