diff options
author | Dan Williams <dcbw@redhat.com> | 2008-09-04 14:32:14 +0000 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2008-09-04 14:32:14 +0000 |
commit | ba15ee5f506b3b87c5f2200be62776970582e82c (patch) | |
tree | d3d29f66c9d9a56865afd568dac53daba8c7faf4 /src/vpn-manager | |
parent | f5dea691d7adbf4446256182cc22f3a0ed983688 (diff) |
2008-09-04 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting-vpn.c
libnm-util/nm-setting-vpn.h
- Split VPN secrets from VPN data so that settings services can actually
figure out that they are secrets and store them accordingly
* system-settings/plugins/keyfile/nm-keyfile-connection.c
system-settings/plugins/keyfile/reader.c
system-settings/plugins/keyfile/reader.h
system-settings/plugins/keyfile/writer.c
- Store VPN secrets separately from VPN data so that they can be fetched
on demand
- Implement the get_secrets() call so that (a) secrets don't leak out
to unprivileged callers, and (b) secrets can be sent to privileged
callers when needed
* vpn-daemons/vpnc/src/nm-vpnc-service.c
- Handle split VPN secrets
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4031 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'src/vpn-manager')
-rw-r--r-- | src/vpn-manager/nm-vpn-connection.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vpn-manager/nm-vpn-connection.c b/src/vpn-manager/nm-vpn-connection.c index 78491787dc..ddb8d285f2 100644 --- a/src/vpn-manager/nm-vpn-connection.c +++ b/src/vpn-manager/nm-vpn-connection.c @@ -658,13 +658,12 @@ static void update_vpn_properties_secrets (gpointer key, gpointer data, gpointer user_data) { NMConnection *connection = NM_CONNECTION (user_data); + GHashTable *secrets = (GHashTable *) data; if (strcmp (key, NM_SETTING_VPN_SETTING_NAME)) return; - nm_connection_update_secrets (connection, - NM_SETTING_VPN_SETTING_NAME, - (GHashTable *) data); + nm_connection_update_secrets (connection, NM_SETTING_VPN_SETTING_NAME, secrets); } static void |