aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-session.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index f085732b99..4ec15cce5d 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-10 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-session.c (camel_session_get_password): Don't abort if the
+ Service is NULL, this is perfectly valid for cipher contexts.
+
2001-05-09 Peter Williams <peterw@ximian.com>
* providers/imap/camel-imap-folder.c (imap_move_messages_to): Pass
diff --git a/camel/camel-session.c b/camel/camel-session.c
index 5dbd19d963..e0bdf95e96 100644
--- a/camel/camel-session.c
+++ b/camel/camel-session.c
@@ -542,7 +542,6 @@ camel_session_get_password (CamelSession *session, const char *prompt,
const char *item, CamelException *ex)
{
g_return_val_if_fail (CAMEL_IS_SESSION (session), NULL);
- g_return_val_if_fail (CAMEL_IS_SERVICE (service), NULL);
g_return_val_if_fail (prompt != NULL, NULL);
g_return_val_if_fail (item != NULL, NULL);