** Fixes #334848
* lib/e-pkcs12.c (prompt_for_password):
* gui/component.c (smime_pk11_passwd), (smime_pk11_change_passwd):
Do not pass NULL for the domain parameter of
e_passwords_ask_password.
svn path=/trunk/; revision=32451
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
2006-06-27 Veerapuram Varadhan <vvaradhan@novell.com>
|
||||
|
||||
** Fixes #334848
|
||||
|
||||
* lib/e-pkcs12.c (prompt_for_password):
|
||||
* gui/component.c (smime_pk11_passwd), (smime_pk11_change_passwd):
|
||||
Do not pass NULL for the domain parameter of
|
||||
e_passwords_ask_password.
|
||||
|
||||
2006-06-15 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* lib/e-cert-db.c (initialize_nss): On Win32, NSS wants filenames
|
||||
|
||||
@ -47,7 +47,7 @@ smime_pk11_passwd (ECertDB *db, PK11SlotInfo* slot, gboolean retry, char **passw
|
||||
prompt = g_strdup_printf (_("Enter the password for `%s'"), slot_name);
|
||||
g_free (slot_name);
|
||||
|
||||
*passwd = e_passwords_ask_password (_("Enter password"), NULL, NULL,
|
||||
*passwd = e_passwords_ask_password (_("Enter password"), "SMIME-PKCS11", NULL,
|
||||
prompt,
|
||||
E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL,
|
||||
NULL);
|
||||
@ -69,7 +69,7 @@ smime_pk11_change_passwd (ECertDB *db, char **old_passwd, char **passwd, gpointe
|
||||
/* we're setting the password initially */
|
||||
prompt = _("Enter new password for certificate database");
|
||||
|
||||
*passwd = e_passwords_ask_password (_("Enter new password"), NULL, NULL,
|
||||
*passwd = e_passwords_ask_password (_("Enter new password"), "SMIME-PKCS11", NULL,
|
||||
prompt,
|
||||
E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL,
|
||||
NULL);
|
||||
|
||||
@ -219,7 +219,7 @@ prompt_for_password (char *title, char *prompt, SECItem *pwd)
|
||||
{
|
||||
char *passwd;
|
||||
|
||||
passwd = e_passwords_ask_password (title, NULL, NULL, prompt,
|
||||
passwd = e_passwords_ask_password (title, "SMIME-PKCS12", NULL, prompt,
|
||||
E_PASSWORDS_REMEMBER_NEVER|E_PASSWORDS_SECRET, NULL,
|
||||
NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user