From 9d2889a4a7f2766e1559f66cfacf87f4e89d7513 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 10 Feb 2011 11:34:35 -0600 Subject: [PATCH] agents: send available secrets to the agents The caller has already taken care of making sure that the agent is privileged enough to have secrets, so send them along if the caller gave them to us. --- src/settings/nm-secret-agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings/nm-secret-agent.c b/src/settings/nm-secret-agent.c index 03f9a23235..67aea821c3 100644 --- a/src/settings/nm-secret-agent.c +++ b/src/settings/nm-secret-agent.c @@ -187,7 +187,7 @@ nm_secret_agent_get_secrets (NMSecretAgent *self, priv = NM_SECRET_AGENT_GET_PRIVATE (self); - hash = nm_connection_to_hash (connection, NM_SETTING_HASH_FLAG_NO_SECRETS); + hash = nm_connection_to_hash (connection, NM_SETTING_HASH_FLAG_ALL); r = request_new (self, nm_connection_get_path (connection), setting_name, callback, callback_data); r->call = dbus_g_proxy_begin_call_with_timeout (priv->proxy,