diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-08-19 09:52:12 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-08-19 09:52:12 +0200 |
commit | 1e92d5f1145db47b1eb6a2edbfcf421d60460f2b (patch) | |
tree | cf22e43cde034eff6f666ab030104e800ac33eda /src/libcharon/plugins/tnc_pdp/tnc_pdp.c | |
parent | 9dc3b2053d63e177090e38c888ddd736e02401d2 (diff) | |
download | strongswan-1e92d5f1145db47b1eb6a2edbfcf421d60460f2b.tar.bz2 strongswan-1e92d5f1145db47b1eb6a2edbfcf421d60460f2b.tar.xz |
Process PB-TNC batches received via PT-TLS asynchronously
Diffstat (limited to 'src/libcharon/plugins/tnc_pdp/tnc_pdp.c')
-rw-r--r-- | src/libcharon/plugins/tnc_pdp/tnc_pdp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libcharon/plugins/tnc_pdp/tnc_pdp.c b/src/libcharon/plugins/tnc_pdp/tnc_pdp.c index 2e9c33967..f4b1ba9ce 100644 --- a/src/libcharon/plugins/tnc_pdp/tnc_pdp.c +++ b/src/libcharon/plugins/tnc_pdp/tnc_pdp.c @@ -587,8 +587,7 @@ static bool pt_tls_receive_more(pt_tls_server_t *this, int fd, switch (this->handle(this)) { case NEED_MORE: - DBG1(DBG_TNC, "PT-TLS connection needs more"); - break; + return TRUE; case FAILED: case SUCCESS: default: @@ -597,8 +596,6 @@ static bool pt_tls_receive_more(pt_tls_server_t *this, int fd, close(fd); return FALSE; } - - return TRUE; } /** |