put PGP userid in single quotes
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 8 Nov 2009 22:58:41 +0000 (23:58 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 8 Nov 2009 22:58:41 +0000 (23:58 +0100)
src/charon/plugins/stroke/stroke_list.c

index 6b97735..295b28c 100644 (file)
@@ -666,7 +666,7 @@ static void stroke_list_pgp(linked_list_t *list,bool utc, FILE *out)
                                first = FALSE;
                }
                fprintf(out, "\n");
-               fprintf(out, "  userid:    %Y\n", cert->get_subject(cert));
+               fprintf(out, "  userid:   '%Y'\n", cert->get_subject(cert));
 
                fprintf(out, "  digest:    %#B\n", &fingerprint);
                /* list validity */