[network-manager-applet/NETWORKMANAGER_APPLET_0_7] wired 802.1x: Actually use the entered secrets.



commit 91299fbfe69eba032647aec2adae5005e05f862c
Author: Tambet Ingo <tambet gmail com>
Date:   Wed Sep 2 12:34:32 2009 +0300

    wired 802.1x: Actually use the entered secrets.

 src/applet-device-wired.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/applet-device-wired.c b/src/applet-device-wired.c
index d116326..3e63a76 100644
--- a/src/applet-device-wired.c
+++ b/src/applet-device-wired.c
@@ -650,7 +650,10 @@ get_8021x_secrets_cb (GtkDialog *dialog,
 		goto done;
 	}
 
+	utils_fill_connection_certs (NM_CONNECTION (connection));
 	secrets = nm_setting_to_hash (setting);
+	utils_clear_filled_connection_certs (NM_CONNECTION (connection));
+
 	if (!secrets) {
 		g_set_error (&err, NM_SETTINGS_ERROR, NM_SETTINGS_ERROR_INTERNAL_ERROR,
 					 "%s.%d (%s): failed to hash setting '%s'.",
@@ -658,9 +661,6 @@ get_8021x_secrets_cb (GtkDialog *dialog,
 		goto done;
 	}
 
-	utils_fill_connection_certs (connection);
-	utils_clear_filled_connection_certs (connection);
-
 	/* Returned secrets are a{sa{sv}}; this is the outer a{s...} hash that
 	 * will contain all the individual settings hashes.
 	 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]