aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-smime-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-smime-context.c')
-rw-r--r--camel/camel-smime-context.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/camel/camel-smime-context.c b/camel/camel-smime-context.c
index 1f0f81e86c..bbe311385b 100644
--- a/camel/camel-smime-context.c
+++ b/camel/camel-smime-context.c
@@ -197,9 +197,8 @@ get_password (void *arg, SECKEYKeyDBHandle *handle)
return pwitem;
prompt = g_strdup_printf (_("Please enter your password for %s"), userid);
- passwd = camel_session_query_authenticator (session, CAMEL_AUTHENTICATOR_ASK,
- prompt, TRUE, NULL, userid,
- NULL);
+ passwd = camel_session_get_password (session, prompt, TRUE,
+ NULL, userid, NULL);
g_free (prompt);
/* hash the password */