aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/eap_mschapv2/eap_mschapv2.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-02-24 13:39:50 +0000
committerMartin Willi <martin@strongswan.org>2009-02-24 13:39:50 +0000
commitb654daf561ee1eb6075726a8a82c2864689f06fe (patch)
treeb4ed226c9e8c143c950f0695598808b804ddad4a /src/charon/plugins/eap_mschapv2/eap_mschapv2.c
parent3cad46da79ac786b3be413de8fc869df8924ba47 (diff)
downloadstrongswan-b654daf561ee1eb6075726a8a82c2864689f06fe.tar.bz2
strongswan-b654daf561ee1eb6075726a8a82c2864689f06fe.tar.xz
fixed MSCHAPv2 password lookup when used with NetworkManager
Diffstat (limited to 'src/charon/plugins/eap_mschapv2/eap_mschapv2.c')
-rw-r--r--src/charon/plugins/eap_mschapv2/eap_mschapv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/plugins/eap_mschapv2/eap_mschapv2.c b/src/charon/plugins/eap_mschapv2/eap_mschapv2.c
index 491814542..2f276eb0b 100644
--- a/src/charon/plugins/eap_mschapv2/eap_mschapv2.c
+++ b/src/charon/plugins/eap_mschapv2/eap_mschapv2.c
@@ -643,7 +643,7 @@ static status_t process_peer_challenge(private_eap_mschapv2_t *this,
rng->destroy(rng);
shared = charon->credentials->get_shared(charon->credentials,
- SHARED_EAP, this->server, this->peer);
+ SHARED_EAP, this->peer, this->server);
if (shared == NULL)
{
DBG1(DBG_IKE, "no EAP key found for hosts '%D' - '%D'",