output crl uri as a printable string instead of a binary blob
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 4 Jul 2007 13:36:41 +0000 (13:36 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 4 Jul 2007 13:36:41 +0000 (13:36 -0000)
src/libstrongswan/crypto/ca.c

index 97c184b..a785909 100644 (file)
@@ -345,7 +345,7 @@ static void add_crluri(private_ca_info_t *this, chunk_t uri)
                strncasecmp(uri.ptr, "file", 4) != 0  &&
                strncasecmp(uri.ptr, "ftp",  3) != 0))
        {
-               DBG1("  invalid crl uri '%#B'", &uri);
+               DBG1("  invalid crl uri '%.*s'", uri.len, uri.ptr);
                return;
        }
        else