fixed MSCHAPv2 password lookup when used with NetworkManager
authorMartin Willi <martin@strongswan.org>
Tue, 24 Feb 2009 13:39:50 +0000 (13:39 -0000)
committerMartin Willi <martin@strongswan.org>
Tue, 24 Feb 2009 13:39:50 +0000 (13:39 -0000)
packages/strongswan/debian/changelog
src/charon/plugins/eap_mschapv2/eap_mschapv2.c

index 0b26749..953e49d 100644 (file)
@@ -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
index 4918145..2f276eb 100644 (file)
@@ -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'",