]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
certificate subject DNs are in double quotes
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 23 Sep 2009 20:03:52 +0000 (22:03 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 23 Sep 2009 20:03:52 +0000 (22:03 +0200)
src/charon/plugins/stroke/stroke_cred.c

index 4b9de8bb02121c886aed2b847ab64da5c4e42e8b..5c981036a7edf56535077621941ee849b6b1a65e 100644 (file)
@@ -325,7 +325,7 @@ static certificate_t* load_ca(private_stroke_cred_t *this, char *filename)
 
                if (!(x509->get_flags(x509) & X509_CA))
                {
-                       DBG1(DBG_CFG, "  ca certificate '%Y' misses ca basic constraint, "
+                       DBG1(DBG_CFG, "  ca certificate \"%Y\" misses ca basic constraint, "
                                 "discarded", cert->get_subject(cert));
                        cert->destroy(cert);
                        return NULL;
@@ -432,7 +432,7 @@ static certificate_t* load_peer(private_stroke_cred_t *this, char *filename)
        if (cert)
        {
                cert = add_cert(this, cert);
-               DBG1(DBG_CFG, "  loaded certificate '%Y' from '%s'",
+               DBG1(DBG_CFG, "  loaded certificate \"%Y\" from '%s'",
                                          cert->get_subject(cert), filename);
                return cert->get_ref(cert);
        }
@@ -481,7 +481,7 @@ static void load_certdir(private_stroke_cred_t *this, char *path,
 
                                                if (!(x509->get_flags(x509) & X509_CA))
                                                {
-                                                       DBG1(DBG_CFG, "  ca certificate '%Y' lacks "
+                                                       DBG1(DBG_CFG, "  ca certificate \"%Y\" lacks "
                                                                 "ca basic constraint, discarded",
                                                                 cert->get_subject(cert));
                                                        cert->destroy(cert);
@@ -489,7 +489,7 @@ static void load_certdir(private_stroke_cred_t *this, char *path,
                                                }
                                                else
                                                {
-                                                       DBG1(DBG_CFG, "  loaded ca certificate '%Y' from '%s'",
+                                                       DBG1(DBG_CFG, "  loaded ca certificate \"%Y\" from '%s'",
                                                                                  cert->get_subject(cert), file);
                                                }
                                        }
@@ -507,7 +507,7 @@ static void load_certdir(private_stroke_cred_t *this, char *path,
                                                                                BUILD_X509_FLAG, flag, BUILD_END);
                                        if (cert)
                                        {
-                                               DBG1(DBG_CFG, "  loaded certificate '%Y' from '%s'",
+                                               DBG1(DBG_CFG, "  loaded certificate \"%Y\" from '%s'",
                                                                          cert->get_subject(cert), file);
                                        }
                                        else