aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-08-12 14:55:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-08-12 14:55:36 +0800
commit37b8c77a3f087f3cbc14095e83566876129fbd59 (patch)
treee8552139bd9cf5f54a83c6b7e356167c38addc50 /smime
parent40075f5515c769393e3f5ffceef4d0f1136d10d8 (diff)
downloadgsoc2013-evolution-37b8c77a3f087f3cbc14095e83566876129fbd59.tar
gsoc2013-evolution-37b8c77a3f087f3cbc14095e83566876129fbd59.tar.gz
gsoc2013-evolution-37b8c77a3f087f3cbc14095e83566876129fbd59.tar.bz2
gsoc2013-evolution-37b8c77a3f087f3cbc14095e83566876129fbd59.tar.lz
gsoc2013-evolution-37b8c77a3f087f3cbc14095e83566876129fbd59.tar.xz
gsoc2013-evolution-37b8c77a3f087f3cbc14095e83566876129fbd59.tar.zst
gsoc2013-evolution-37b8c77a3f087f3cbc14095e83566876129fbd59.zip
api change in e_passwords.
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. svn path=/trunk/; revision=26883
Diffstat (limited to 'smime')
-rw-r--r--smime/ChangeLog5
-rw-r--r--smime/gui/component.c8
-rw-r--r--smime/lib/e-pkcs12.c4
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) {