diff options
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-tcp-stream-ssl.c | 2 |
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; |