[Bug 39796] Can't remove secret params from the keyfile

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 3 14:16:45 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39796

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-08-03 05:16:45 PDT ---
(In reply to comment #3)
> _set() is not called in this case, _delete() is

Remove it from both locations in the implementation of _delete(), then?
Pseudo-patch:

 #if ENABLE_GNOME_KEYRING
-      if (mcp_account_manager_parameter_is_secret (am, account, key))
-        save = g_key_file_remove_key (amd->secrets, account, key, NULL);
-      else
-        save = g_key_file_remove_key (amd->keyfile, account, key, NULL);
+      save = g_key_file_remove_key (amd->keyfile, account, key, NULL);
+      save = g_key_file_remove_key (amd->secrets, account, key, NULL) || save;

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list