aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream-ssl.c
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 /camel/camel-tcp-stream-ssl.c
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
Diffstat (limited to 'camel/camel-tcp-stream-ssl.c')
-rw-r--r--camel/camel-tcp-stream-ssl.c6
1 files changed, 5 insertions, 1 deletions
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;
}