aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-smime-context.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-20 13:33:12 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-20 13:33:12 +0800
commitc5c43717419bcf6a6a3a5d5958090631dc7a13c9 (patch)
tree046170f46a9b68134ff08aa99c64c86113f18fde /camel/camel-smime-context.c
parentb6e44f08f719efee9c6ed90813d03ddbf42e9121 (diff)
downloadgsoc2013-evolution-c5c43717419bcf6a6a3a5d5958090631dc7a13c9.tar.gz
gsoc2013-evolution-c5c43717419bcf6a6a3a5d5958090631dc7a13c9.tar.zst
gsoc2013-evolution-c5c43717419bcf6a6a3a5d5958090631dc7a13c9.zip
** See bug #52817.
2004-01-20 Not Zed <NotZed@Ximian.com> ** 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
Diffstat (limited to 'camel/camel-smime-context.c')
-rw-r--r--camel/camel-smime-context.c3
1 files changed, 2 insertions, 1 deletions
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) {