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/camel-tcp-stream-ssl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'camel/camel-tcp-stream-ssl.c') 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