File 0007-Fix-a-segfault-on-WPA-EAP-TTLS-connections-with-CHAP.patch of Package NetworkManager-gnome

From 9850b70a7adb0c06d564d5c58d2c04e7c0a133aa Mon Sep 17 00:00:00 2001
From: Tambet Ingo <tambet@gmail.com>
Date: Mon, 2 Feb 2009 09:58:39 +0200
Subject: [PATCH] Fix a segfault on WPA-EAP TTLS connections with CHAP inner authentication method.


diff --git a/src/wireless-security/eap-method-ttls.c b/src/wireless-security/eap-method-ttls.c
index 28ef723..fdfd5ae 100644
--- a/src/wireless-security/eap-method-ttls.c
+++ b/src/wireless-security/eap-method-ttls.c
@@ -277,7 +277,7 @@ inner_auth_combo_init (EAPMethodTTLS *method,
 
 	/* Check for defaulting to CHAP */
 	if (phase2_auth && !strcasecmp (phase2_auth, "chap"))
-		active = 4;
+		active = 3;
 
 	combo = glade_xml_get_widget (xml, "eap_ttls_inner_auth_combo");
 	g_assert (combo);
-- 
1.6.0.2

openSUSE Build Service is sponsored by