put DN in double quotes
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 31 Mar 2008 21:08:56 +0000 (21:08 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 31 Mar 2008 21:08:56 +0000 (21:08 -0000)
src/charon/plugins/stroke/stroke_ca.c

index e39dfe3..8da8a63 100644 (file)
@@ -307,7 +307,7 @@ static void list(private_stroke_ca_t *this, stroke_msg_t *msg, FILE *out)
                        first = FALSE;
                }
                fprintf(out, "\n");
-               fprintf(out, "  authname: %D\n", cert->get_subject(cert));
+               fprintf(out, "  authname: \"%D\"\n", cert->get_subject(cert));
 
                /* list authkey and keyid */
                if (public)