aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-06-05 02:37:13 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-05 02:37:13 +0800
commit1f8371a1fdf0c2322fa5280a64bf8550d7152640 (patch)
tree78b86059e92ff9c01ec49ced3450e95e8901e798
parentfdb1224ed8e93ce9b91b5eccef09de695d030dbc (diff)
downloadgsoc2013-evolution-1f8371a1fdf0c2322fa5280a64bf8550d7152640.tar.gz
gsoc2013-evolution-1f8371a1fdf0c2322fa5280a64bf8550d7152640.tar.zst
gsoc2013-evolution-1f8371a1fdf0c2322fa5280a64bf8550d7152640.zip
Duh. If the user doesn't care about SSL/TLS - use USE_SSL_NEVER, not
2004-06-04 Jeffrey Stedfast <fejj@novell.com> * providers/imap4/camel-imap4-store.c (connect_to_server_wrapper): Duh. If the user doesn't care about SSL/TLS - use USE_SSL_NEVER, not USE_SSL_ALWAYS. svn path=/trunk/; revision=26218
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/providers/imap4/camel-imap4-store.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index fe763f9fe3..88bfb7cb30 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,9 @@
2004-06-04 Jeffrey Stedfast <fejj@novell.com>
+ * providers/imap4/camel-imap4-store.c (connect_to_server_wrapper):
+ Duh. If the user doesn't care about SSL/TLS - use USE_SSL_NEVER,
+ not USE_SSL_ALWAYS.
+
* camel-tcp-stream-ssl.c (stream_flush): Always just return 0,
don't try to PR_Sync() - fsync on a socket causes an error.
diff --git a/camel/providers/imap4/camel-imap4-store.c b/camel/providers/imap4/camel-imap4-store.c
index 8e228be71a..4c8d701ecf 100644
--- a/camel/providers/imap4/camel-imap4-store.c
+++ b/camel/providers/imap4/camel-imap4-store.c
@@ -353,7 +353,7 @@ connect_to_server_wrapper (CamelService *service, CamelException *ex)
ret = connect_to_server (service, h, ssl_mode, TRUE, ex);
} else {
/* User doesn't care about SSL */
- ret = connect_to_server (service, h, USE_SSL_ALWAYS, FALSE, ex);
+ ret = connect_to_server (service, h, USE_SSL_NEVER, FALSE, ex);
}
camel_free_host (h);