diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-07-04 21:55:30 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-07-04 22:20:54 +0800 |
commit | 99d492b8284fa467f2b8ad3e6b637e10258d1cc2 (patch) | |
tree | eeabd62681bd3cbf0e903c509dbafeec75f804d1 /smime | |
parent | 56e3e6818693118b1a33c682ff71ec7d561c46d1 (diff) | |
download | gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.gz gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.tar.zst gsoc2013-evolution-99d492b8284fa467f2b8ad3e6b637e10258d1cc2.zip |
Adapt to CamelSession and e-passwords changes.
Diffstat (limited to 'smime')
-rw-r--r-- | smime/gui/component.c | 4 | ||||
-rw-r--r-- | smime/lib/e-pkcs12.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/smime/gui/component.c b/smime/gui/component.c index 0b7a679ee2..fbd6d75a78 100644 --- a/smime/gui/component.c +++ b/smime/gui/component.c @@ -46,7 +46,7 @@ smime_pk11_passwd (ECertDB *db, PK11SlotInfo* slot, gboolean retry, gchar **pass prompt = g_strdup_printf (_("Enter the password for '%s'"), slot_name); g_free (slot_name); - *passwd = e_passwords_ask_password (_("Enter password"), "SMIME-PKCS11", "", + *passwd = e_passwords_ask_password (_("Enter password"), NULL, "", prompt, E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); @@ -68,7 +68,7 @@ smime_pk11_change_passwd (ECertDB *db, gchar **old_passwd, gchar **passwd, gpoin /* we're setting the password initially */ prompt = _("Enter new password for certificate database"); - *passwd = e_passwords_ask_password (_("Enter new password"), "SMIME-PKCS11", "", + *passwd = e_passwords_ask_password (_("Enter new password"), NULL, "", prompt, E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); diff --git a/smime/lib/e-pkcs12.c b/smime/lib/e-pkcs12.c index ed7e6a65c1..f4fa995207 100644 --- a/smime/lib/e-pkcs12.c +++ b/smime/lib/e-pkcs12.c @@ -201,7 +201,7 @@ prompt_for_password (gchar *title, gchar *prompt, SECItem *pwd) { gchar *passwd; - passwd = e_passwords_ask_password (title, "SMIME-PKCS12", "", prompt, + passwd = e_passwords_ask_password (title, NULL, "", prompt, E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); |