NetworkManager r4323 - in trunk: . system-settings/plugins/ifcfg-suse
- From: tambeti svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r4323 - in trunk: . system-settings/plugins/ifcfg-suse
- Date: Fri, 21 Nov 2008 07:40:25 +0000 (UTC)
Author: tambeti
Date: Fri Nov 21 07:40:25 2008
New Revision: 4323
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4323&view=rev
Log:
2008-11-21 Tambet Ingo <tambet gmail com>
* system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings): Make suse
plugin compile again.
Modified:
trunk/ChangeLog
trunk/system-settings/plugins/ifcfg-suse/parser.c
Modified: trunk/system-settings/plugins/ifcfg-suse/parser.c
==============================================================================
--- trunk/system-settings/plugins/ifcfg-suse/parser.c (original)
+++ trunk/system-settings/plugins/ifcfg-suse/parser.c Fri Nov 21 07:40:25 2008
@@ -430,6 +430,7 @@
NMSetting8021x *s_802_1x;
char *str;
GError *err = NULL;
+ NMSetting8021xCKType cert_type;
s_802_1x = NM_SETTING_802_1X (nm_setting_802_1x_new ());
@@ -468,7 +469,7 @@
str = svGetValue (ifcfg, "WIRELESS_CA_CERT");
if (str) {
- nm_setting_802_1x_set_ca_cert_from_file (s_802_1x, str, &err);
+ nm_setting_802_1x_set_ca_cert_from_file (s_802_1x, str, &cert_type, &err);
if (err) {
g_warning ("Error loading WIRELESS_CA_CERT: %s", err->message);
g_error_free (err);
@@ -479,7 +480,7 @@
str = svGetValue (ifcfg, "WIRELESS_CLIENT_CERT");
if (str) {
- nm_setting_802_1x_set_client_cert_from_file (s_802_1x, str, &err);
+ nm_setting_802_1x_set_client_cert_from_file (s_802_1x, str, &cert_type, &err);
if (err) {
g_warning ("Error loading WIRELESS_CLIENT_CERT: %s", err->message);
g_error_free (err);
@@ -494,7 +495,7 @@
password = svGetValue (ifcfg, "WIRELESS_CLIENT_KEY_PASSWORD");
if (password) {
- nm_setting_802_1x_set_private_key_from_file (s_802_1x, str, password, &err);
+ nm_setting_802_1x_set_private_key_from_file (s_802_1x, str, password, &cert_type, &err);
if (err) {
g_warning ("Error loading WIRELESS_CLIENT_KEY: %s", err->message);
g_error_free (err);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]