aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtls/tls_reader.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-08-20 15:57:47 +0200
committerMartin Willi <martin@revosec.ch>2010-08-23 09:47:03 +0200
commit3c19b3461f835b901395b3335d6456ca60dbe5ab (patch)
tree48b72a86bd7fa4ec3f14ff3240cae96d15334eb8 /src/libtls/tls_reader.c
parent0bcef5fe7a8f5fdd3b3e782f033b34ddc7e11ed1 (diff)
downloadstrongswan-3c19b3461f835b901395b3335d6456ca60dbe5ab.tar.bz2
strongswan-3c19b3461f835b901395b3335d6456ca60dbe5ab.tar.xz
Introducing a dedicated debug message group for libtls
Diffstat (limited to 'src/libtls/tls_reader.c')
-rw-r--r--src/libtls/tls_reader.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libtls/tls_reader.c b/src/libtls/tls_reader.c
index ee537be71..17ec68fd5 100644
--- a/src/libtls/tls_reader.c
+++ b/src/libtls/tls_reader.c
@@ -52,7 +52,7 @@ METHOD(tls_reader_t, read_uint8, bool,
{
if (this->buf.len < 1)
{
- DBG1(DBG_IKE, "%d bytes insufficient to parse uint%d TLS data",
+ DBG1(DBG_TLS, "%d bytes insufficient to parse uint%d TLS data",
this->buf.len, 8);
return FALSE;
}
@@ -66,7 +66,7 @@ METHOD(tls_reader_t, read_uint16, bool,
{
if (this->buf.len < 2)
{
- DBG1(DBG_IKE, "%d bytes insufficient to parse uint%d TLS data",
+ DBG1(DBG_TLS, "%d bytes insufficient to parse uint%d TLS data",
this->buf.len, 16);
return FALSE;
}
@@ -80,7 +80,7 @@ METHOD(tls_reader_t, read_uint24, bool,
{
if (this->buf.len < 3)
{
- DBG1(DBG_IKE, "%d bytes insufficient to parse uint%d TLS data",
+ DBG1(DBG_TLS, "%d bytes insufficient to parse uint%d TLS data",
this->buf.len, 24);
return FALSE;
}
@@ -94,7 +94,7 @@ METHOD(tls_reader_t, read_uint32, bool,
{
if (this->buf.len < 4)
{
- DBG1(DBG_IKE, "%d bytes insufficient to parse uint%d TLS data",
+ DBG1(DBG_TLS, "%d bytes insufficient to parse uint%d TLS data",
this->buf.len, 32);
return FALSE;
}
@@ -108,7 +108,7 @@ METHOD(tls_reader_t, read_data, bool,
{
if (this->buf.len < len)
{
- DBG1(DBG_IKE, "%d bytes insufficient to parse %d bytes TLS data",
+ DBG1(DBG_TLS, "%d bytes insufficient to parse %d bytes TLS data",
this->buf.len, len);
return FALSE;
}