diff options
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-tcp-stream-ssl.c | 6 |
2 files changed, 9 insertions, 1 deletions
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 <fejj@ximian.com> + * 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; } |