aboutsummaryrefslogtreecommitdiffstats
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
parent3cad46da79ac786b3be413de8fc869df8924ba47 (diff)
downloadstrongswan-b654daf561ee1eb6075726a8a82c2864689f06fe.tar.bz2
strongswan-b654daf561ee1eb6075726a8a82c2864689f06fe.tar.xz
fixed MSCHAPv2 password lookup when used with NetworkManager
-rw-r--r--packages/strongswan/debian/changelog6
-rw-r--r--src/charon/plugins/eap_mschapv2/eap_mschapv2.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/strongswan/debian/changelog b/packages/strongswan/debian/changelog
index 0b2674983..953e49dc3 100644
--- a/packages/strongswan/debian/changelog
+++ b/packages/strongswan/debian/changelog
@@ -1,3 +1,9 @@
+strongswan (4.2.12-6~ppa1~intrepid1) intrepid; urgency=low
+
+ * fixed MSCHAPv2 password lookup
+
+ -- Martin Willi <martin@strongswan.org> Tue, 24 Feb 2009 12:57:45 +0100
+
strongswan (4.2.12-5~ppa1~intrepid1) intrepid; urgency=low
* added EAP-Identity package
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'",