From 1751d7033533f18c89dd0d65853eb7ddbf0e2a88 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 8 Sep 2001 00:42:09 +0000 Subject: #if 0 out the code that was hopefully going to fix bug #5325 because the 2001-09-07 Jeffrey Stedfast * camel-tcp-stream-ssl.c (ssl_bad_cert): #if 0 out the code that was hopefully going to fix bug #5325 because the functions I used seem to have been deprecated. *sigh*. svn path=/trunk/; revision=12699 --- camel/ChangeLog | 4 ++++ camel/camel-tcp-stream-ssl.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 3a23bb94d3..3f6f07f71c 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,9 @@ 2001-09-07 Jeffrey Stedfast + * camel-tcp-stream-ssl.c (ssl_bad_cert): #if 0 out the code that + was hopefully going to fix bug #5325 because the functions I used + seem to have been deprecated. *sigh*. + * camel-remote-store.c (camel_remote_store_finalise): Disconnect from the service here otherwise the locks will be destroyed and by the time CamelService finalizes we'll crash or hang. diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c index f63e043002..057e4d59cc 100644 --- a/camel/camel-tcp-stream-ssl.c +++ b/camel/camel-tcp-stream-ssl.c @@ -375,6 +375,10 @@ ssl_bad_cert (void *data, PRFileDesc *sockfd) g_free (prompt); if (accept) { +#if 0 + /* this code would work, except guess what? mozilla + again changed api - these are all deprecated + functions again. */ CERTCertificate *temp; CERTCertTrust *trust; PK11SlotInfo *slot; @@ -393,7 +397,7 @@ ssl_bad_cert (void *data, PRFileDesc *sockfd) CERT_DestroyCertificate (temp); PORT_Free (nickname); - +#endif return SECSuccess; } -- cgit v1.2.3