From c5c43717419bcf6a6a3a5d5958090631dc7a13c9 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 20 Jan 2004 05:33:12 +0000 Subject: ** See bug #52817. 2004-01-20 Not Zed ** See bug #52817. * camel-session.c (camel_session_get_password): merged reprompt and secret into a flags field, and add more options. Fixed all callers. svn path=/trunk/; revision=24323 --- camel/camel-smime-context.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'camel/camel-smime-context.c') diff --git a/camel/camel-smime-context.c b/camel/camel-smime-context.c index 8b132b6968..c32d6e4d72 100644 --- a/camel/camel-smime-context.c +++ b/camel/camel-smime-context.c @@ -102,7 +102,8 @@ sm_get_passwd(PK11SlotInfo *info, PRBool retry, void *arg) } prompt = g_strdup_printf(_("Enter security pass-phrase for `%s'"), PK11_GetTokenName(info)); - pass = camel_session_get_password(((CamelCipherContext *)context)->session, prompt, FALSE, TRUE, NULL, PK11_GetTokenName(info), ex); + pass = camel_session_get_password(((CamelCipherContext *)context)->session, prompt, + CAMEL_SESSION_PASSWORD_SECRET|CAMEL_SESSION_PASSWORD_STATIC, NULL, PK11_GetTokenName(info), ex); camel_exception_free(ex); g_free(prompt); if (pass) { -- cgit v1.2.3