aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpttls/pt_tls_server.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-08-09 15:21:33 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2013-08-15 23:34:22 +0200
commit6d6100c2bc83688080e24e4f8e25efea21ca9f08 (patch)
tree6c5e9416fb6333faa4a87d2362c629a656dcf3ac /src/libpttls/pt_tls_server.c
parentf420d5f380440bb22203a8de3a79279a0fa07bd7 (diff)
downloadstrongswan-6d6100c2bc83688080e24e4f8e25efea21ca9f08.tar.bz2
strongswan-6d6100c2bc83688080e24e4f8e25efea21ca9f08.tar.xz
Added some debug statements
Diffstat (limited to 'src/libpttls/pt_tls_server.c')
-rw-r--r--src/libpttls/pt_tls_server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libpttls/pt_tls_server.c b/src/libpttls/pt_tls_server.c
index 2796e0dd0..33d97152b 100644
--- a/src/libpttls/pt_tls_server.c
+++ b/src/libpttls/pt_tls_server.c
@@ -472,6 +472,7 @@ METHOD(pt_tls_server_t, handle, status_t,
switch (this->state)
{
case PT_TLS_SERVER_VERSION:
+ DBG1(DBG_TNC, "entering PT-TLS negotiation phase");
if (!negotiate_version(this))
{
return FAILED;
@@ -480,6 +481,7 @@ METHOD(pt_tls_server_t, handle, status_t,
this->state = PT_TLS_SERVER_AUTH;
/* fall through to next state */
case PT_TLS_SERVER_AUTH:
+ DBG1(DBG_TNC, "doing SASL client authentication");
if (!authenticate(this))
{
return FAILED;
@@ -487,6 +489,7 @@ METHOD(pt_tls_server_t, handle, status_t,
this->state = PT_TLS_SERVER_TNCCS;
break;
case PT_TLS_SERVER_TNCCS:
+ DBG1(DBG_TNC, "entering PT-TLS data transport phase");
if (!assess(this, (tls_t*)this->tnccs))
{
return FAILED;