diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-08-30 15:35:13 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-08-30 15:36:34 +0200 |
commit | 577893612fa7d5a9956bf9fbe60d1de77092810e (patch) | |
tree | cd4b659264fc4dd2da17946520630014dc4c61e5 /src/libcharon/plugins/eap_ttls/eap_ttls_peer.c | |
parent | 2402dee177e538a653828020fb0b186ebf8d14df (diff) | |
download | strongswan-577893612fa7d5a9956bf9fbe60d1de77092810e.tar.bz2 strongswan-577893612fa7d5a9956bf9fbe60d1de77092810e.tar.xz |
for the time being assume a single request/response exchange for a given EAP method
Diffstat (limited to 'src/libcharon/plugins/eap_ttls/eap_ttls_peer.c')
-rw-r--r-- | src/libcharon/plugins/eap_ttls/eap_ttls_peer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c b/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c index ace412de7..d84211540 100644 --- a/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c +++ b/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c @@ -147,10 +147,11 @@ METHOD(tls_application_t, process, status_t, switch (status) { case SUCCESS: - this->method->destroy(this->method); - this->method = NULL; /* fall through to NEED_MORE since response must be sent */ case NEED_MORE: + /* TODO support multiple EAP request/response exchanges */ + this->method->destroy(this->method); + this->method = NULL; return NEED_MORE; case FAILED: default: |