aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-20 06:09:36 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-20 06:09:36 +0800
commitf9329be8eee2a0d467e74eeb951506923699feae (patch)
tree34ac674f092507ed7e80b2281ad5f4135c6b69ac
parent6fe66715f9b25dd6a1d9567c0da9e97cadf64003 (diff)
downloadgsoc2013-evolution-f9329be8eee2a0d467e74eeb951506923699feae.tar
gsoc2013-evolution-f9329be8eee2a0d467e74eeb951506923699feae.tar.gz
gsoc2013-evolution-f9329be8eee2a0d467e74eeb951506923699feae.tar.bz2
gsoc2013-evolution-f9329be8eee2a0d467e74eeb951506923699feae.tar.lz
gsoc2013-evolution-f9329be8eee2a0d467e74eeb951506923699feae.tar.xz
gsoc2013-evolution-f9329be8eee2a0d467e74eeb951506923699feae.tar.zst
gsoc2013-evolution-f9329be8eee2a0d467e74eeb951506923699feae.zip
Oops, don't fail if `data' isn't a CamelService...cuz it's not supposed to
2001-09-19 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (ssl_bad_cert): Oops, don't fail if `data' isn't a CamelService...cuz it's not supposed to be! It's a CamelTcpStreamSSL object...doh! svn path=/trunk/; revision=12992
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-tcp-stream-ssl.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index d198d0a10b..ffcb2bd8e4 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-19 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-tcp-stream-ssl.c (ssl_bad_cert): Oops, don't fail if
+ `data' isn't a CamelService...cuz it's not supposed to be! It's a
+ CamelTcpStreamSSL object...doh!
+
2001-09-19 <NotZed@Ximian.com>
* General cleanup of camel debug printfs.
diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c
index 057e4d59cc..c5d1766ca8 100644
--- a/camel/camel-tcp-stream-ssl.c
+++ b/camel/camel-tcp-stream-ssl.c
@@ -343,7 +343,7 @@ ssl_bad_cert (void *data, PRFileDesc *sockfd)
gboolean accept;
g_return_val_if_fail (data != NULL, SECFailure);
- g_return_val_if_fail (CAMEL_IS_SERVICE (data), SECFailure);
+ g_return_val_if_fail (CAMEL_IS_TCP_STREAM_SSL (data), SECFailure);
ssl = CAMEL_TCP_STREAM_SSL (data);
service = ssl->priv->service;