NetworkManager/libnm-util/tests
Dan Williams d7a86ffd04 libnm-util: fix VPN update_one_secret()
The old function took a string value, which wasn't really correct as
the property type is a GHashTable of string:string.  For whatever
reason this is how nm-applet passed VPN secrets back to NM in the return
from the GetSecrets() D-Bus call.  This was probably easier or
something but it was a special case that's magic and quite unclear.

Since we use nm_connection_update_secrets() more these days, and we
depend on the GValue types we pass into it matching the property
types of the setting property the secret is for, we need to fix that
up for VPN connections.  But keep the old code for backwards
compatibility.

In the future secret agents should pass back VPN secrets in the same
form as the VPN setting specifies them for the "secrets" property:
a GHashTable of string:string.  But the old mechanism of just dumping
the key/value pairs into the returned VPN hash as string:string will
still work.
2011-02-08 20:12:55 -06:00
..
certs libnm-util: client certificate should not be required to set private key (bgo #585570) 2009-12-08 16:52:24 -08:00
Makefile.am libnm-util: client certificate should not be required to set private key (bgo #585570) 2009-12-08 16:52:24 -08:00
test-crypto.c libnm-util: handle PEM files without an ending newline (rh #507315) 2009-11-18 16:29:48 -08:00
test-general.c libnm-util: fix VPN update_one_secret() 2011-02-08 20:12:55 -06:00
test-need-secrets.c libnm-util: private keys are now required for TLS connections to verify 2011-02-02 19:32:30 -06:00
test-setting-8021x.c libnm-util: client certificate should not be required to set private key (bgo #585570) 2009-12-08 16:52:24 -08:00
test-settings-defaults.c test: enable IPv6 setting defaults test 2010-01-08 14:57:23 -08:00