aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-08 08:42:09 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-08 08:42:09 +0800
commit1751d7033533f18c89dd0d65853eb7ddbf0e2a88 (patch)
tree54c2be284a956bff414ffd9d8934e9d389347e77
parentc010132a3b9f2a1e64586d163f3ab60022267e69 (diff)
downloadgsoc2013-evolution-1751d7033533f18c89dd0d65853eb7ddbf0e2a88.tar
gsoc2013-evolution-1751d7033533f18c89dd0d65853eb7ddbf0e2a88.tar.gz
gsoc2013-evolution-1751d7033533f18c89dd0d65853eb7ddbf0e2a88.tar.bz2
gsoc2013-evolution-1751d7033533f18c89dd0d65853eb7ddbf0e2a88.tar.lz
gsoc2013-evolution-1751d7033533f18c89dd0d65853eb7ddbf0e2a88.tar.xz
gsoc2013-evolution-1751d7033533f18c89dd0d65853eb7ddbf0e2a88.tar.zst
gsoc2013-evolution-1751d7033533f18c89dd0d65853eb7ddbf0e2a88.zip
#if 0 out the code that was hopefully going to fix bug #5325 because the
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*. svn path=/trunk/; revision=12699
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-tcp-stream-ssl.c6
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;
}