aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-03-31 17:28:46 +0200
committerTobias Brunner <tobias@strongswan.org>2010-04-06 12:47:40 +0200
commit8b0e09103b5e7e55b20380c44f093b1cef95480c (patch)
tree2b231876b34c525a20ad2b5fc15d8aabb57eba99 /src/pki/commands
parent9ed6341d3f1f48c9528a21b9d2da83bfc05bb756 (diff)
downloadstrongswan-8b0e09103b5e7e55b20380c44f093b1cef95480c.tar.bz2
strongswan-8b0e09103b5e7e55b20380c44f093b1cef95480c.tar.xz
Adding DBG_LIB to all calls of libstrongswan's version of DBG*.
Diffstat (limited to 'src/pki/commands')
-rw-r--r--src/pki/commands/issue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pki/commands/issue.c b/src/pki/commands/issue.c
index abd61b74e..fcd758f87 100644
--- a/src/pki/commands/issue.c
+++ b/src/pki/commands/issue.c
@@ -161,7 +161,7 @@ static int issue()
}
}
- DBG2("Reading ca certificate:");
+ DBG2(DBG_LIB, "Reading ca certificate:");
ca = lib->creds->create(lib->creds, CRED_CERTIFICATE, CERT_X509,
BUILD_FROM_FILE, cacert, BUILD_END);
if (!ca)
@@ -182,7 +182,7 @@ static int issue()
goto end;
}
- DBG2("Reading ca private key:");
+ DBG2(DBG_LIB, "Reading ca private key:");
private = lib->creds->create(lib->creds, CRED_PRIVATE_KEY,
public->get_type(public),
BUILD_FROM_FILE, cakey, BUILD_END);
@@ -226,7 +226,7 @@ static int issue()
identification_t *subjectAltName;
pkcs10_t *req;
- DBG2("Reading certificate request");
+ DBG2(DBG_LIB, "Reading certificate request");
if (file)
{
cert_req = lib->creds->create(lib->creds, CRED_CERTIFICATE,
@@ -266,7 +266,7 @@ static int issue()
}
else
{
- DBG2("Reading public key:");
+ DBG2(DBG_LIB, "Reading public key:");
if (file)
{
public = lib->creds->create(lib->creds, CRED_PUBLIC_KEY, KEY_ANY,