corrected debug output of passphrase
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 11 May 2009 11:54:22 +0000 (13:54 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 11 May 2009 11:54:30 +0000 (13:54 +0200)
src/libstrongswan/asn1/pem.c

index 578621b..5f7ffa4 100755 (executable)
@@ -354,7 +354,9 @@ bool pem_asn1_load_file(char *filename, chunk_t *passphrase,
                }
 
                if (passphrase != NULL)
-                       DBG4("  passphrase:", passphrase->ptr, passphrase->len);
+               {
+                       DBG4("  passphrase: %#B", passphrase);
+               }
 
                /* try PEM format */
                if (pem_to_bin(blob, passphrase, pgp))