log shared secret with debug level 4
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 6 Apr 2008 17:51:29 +0000 (17:51 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 6 Apr 2008 17:51:29 +0000 (17:51 -0000)
src/charon/plugins/stroke/stroke_cred.c

index 9a3d468..e27800c 100644 (file)
@@ -722,7 +722,7 @@ static void load_secrets(private_stroke_cred_t *this)
                        shared_key = stroke_shared_key_create(type, secret);
                        DBG1(DBG_CFG, "  loaded %N secret for %s", shared_key_type_names, type,
                                 ids.len > 0 ? (char*)ids.ptr : "%any");
-                       DBG4(DBG_CFG, "  secret:", secret);
+                       DBG4(DBG_CFG, "  secret: %#B", &secret);
                        
                        this->shared->insert_last(this->shared, shared_key);
                        while (ids.len > 0)