diff options
| author | Tobias Brunner <tobias@strongswan.org> | 2012-08-21 17:11:14 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2012-08-31 11:40:27 +0200 |
| commit | 78e8dca94f86b97b7df649c1c96a7fe532019a5f (patch) | |
| tree | 616a674ad523879957258f298f37a815900f47c0 /src/libcharon/plugins | |
| parent | 34742f1bf89d1ea734655baf86bf0b18447abcd3 (diff) | |
| download | strongswan-78e8dca94f86b97b7df649c1c96a7fe532019a5f.tar.bz2 strongswan-78e8dca94f86b97b7df649c1c96a7fe532019a5f.tar.xz | |
Allow clients to request a configured EAP method via EAP-Nak
Diffstat (limited to 'src/libcharon/plugins')
| -rw-r--r-- | src/libcharon/plugins/eap_peap/eap_peap_peer.c | 2 | ||||
| -rw-r--r-- | src/libcharon/plugins/eap_ttls/eap_ttls_peer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/eap_peap/eap_peap_peer.c b/src/libcharon/plugins/eap_peap/eap_peap_peer.c index 96d4d0f30..5e1972672 100644 --- a/src/libcharon/plugins/eap_peap/eap_peap_peer.c +++ b/src/libcharon/plugins/eap_peap/eap_peap_peer.c @@ -151,7 +151,7 @@ METHOD(tls_application_t, process, status_t, if (!this->ph2_method) { DBG1(DBG_IKE, "EAP method not supported"); - this->out = eap_payload_create_nak(in->get_identifier(in), + this->out = eap_payload_create_nak(in->get_identifier(in), 0, 0, received_vendor != 0); in->destroy(in); return NEED_MORE; diff --git a/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c b/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c index 59366b490..811fe051b 100644 --- a/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c +++ b/src/libcharon/plugins/eap_ttls/eap_ttls_peer.c @@ -192,7 +192,7 @@ METHOD(tls_application_t, process, status_t, if (!this->method) { DBG1(DBG_IKE, "EAP method not supported"); - this->out = eap_payload_create_nak(in->get_identifier(in), + this->out = eap_payload_create_nak(in->get_identifier(in), 0, 0, received_vendor != 0); in->destroy(in); return NEED_MORE; |
