diff options
-rw-r--r-- | smime/ChangeLog | 5 | ||||
-rw-r--r-- | smime/gui/component.c | 8 | ||||
-rw-r--r-- | smime/lib/e-pkcs12.c | 4 |
3 files changed, 11 insertions, 6 deletions
diff --git a/smime/ChangeLog b/smime/ChangeLog index 26e5a32bb2..c515159914 100644 --- a/smime/ChangeLog +++ b/smime/ChangeLog @@ -1,3 +1,8 @@ +2004-08-10 Not Zed <NotZed@Ximian.com> + + * gui/component.c (smime_pk11_passwd, smime_pk11_change_passwd): + * lib/e-pkcs12.c (prompt_for_password): api change in e_passwords. + 2004-08-02 Jeffrey Stedfast <fejj@novell.com> * lib/e-pkcs12.c (prompt_for_password): Fixed to work for both LE diff --git a/smime/gui/component.c b/smime/gui/component.c index e3e5e0f695..a433c4032e 100644 --- a/smime/gui/component.c +++ b/smime/gui/component.c @@ -46,8 +46,8 @@ smime_pk11_passwd (ECertDB *db, PK11SlotInfo* slot, gboolean retry, char **passw g_free (slot_name); *passwd = e_passwords_ask_password (_("Enter password"), NULL, NULL, - prompt, TRUE, - E_PASSWORDS_DO_NOT_REMEMBER, NULL, + prompt, + E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); g_free (prompt); @@ -68,8 +68,8 @@ smime_pk11_change_passwd (ECertDB *db, char **old_passwd, char **passwd, gpointe prompt = _("Enter new password for certificate database"); *passwd = e_passwords_ask_password (_("Enter new password"), NULL, NULL, - prompt, TRUE, - E_PASSWORDS_DO_NOT_REMEMBER, NULL, + prompt, + E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); } else { diff --git a/smime/lib/e-pkcs12.c b/smime/lib/e-pkcs12.c index faf73c93bd..b6001382ed 100644 --- a/smime/lib/e-pkcs12.c +++ b/smime/lib/e-pkcs12.c @@ -217,8 +217,8 @@ prompt_for_password (char *title, char *prompt, SECItem *pwd) { char *passwd; - passwd = e_passwords_ask_password (title, NULL, NULL, prompt, TRUE, - E_PASSWORDS_DO_NOT_REMEMBER, NULL, + passwd = e_passwords_ask_password (title, NULL, NULL, prompt, + E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL, NULL); if (passwd) { |