$Log$
+ Revision 608.19 2003/08/13 14:30:47 ajc
+ * Temporarily disabled IMAP TLS support due to the discovery of some
+ compatibility problems. It will be re-enabled when they are fixed.
+
Revision 608.18 2003/08/12 00:39:35 ajc
* setup now knows about lots of other mail programs it can disable (various
flavors of Cyrus and Courier, for example)
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
#include <string.h>
#include <limits.h>
-#ifdef HAVE_OPENSSL
+#ifdef HAVE_OPENSSL_XXX /* temporarily disabled due to bugs */
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#include "imap_store.h"
#include "imap_misc.h"
-#ifdef HAVE_OPENSSL
+#ifdef HAVE_OPENSSL_XXX /* temporarily disabled due to bugs */
#include "serv_crypto.h"
#endif
*/
void imap_capability(int num_parms, char *parms[]) {
cprintf("* CAPABILITY IMAP4 IMAP4REV1 AUTH=LOGIN");
-#ifdef HAVE_OPENSSL
+
+#ifdef HAVE_OPENSSL_XXX /* temporarily disabled due to bugs */
cprintf(" STARTTLS");
#endif
+
cprintf("\r\n");
cprintf("%s OK CAPABILITY completed\r\n", parms[0]);
}
/*
* implements the STARTTLS command
*/
-#ifdef HAVE_OPENSSL
+#ifdef HAVE_OPENSSL_XXX /* temporarily disabled due to bugs */
void imap_starttls(int num_parms, char *parms[]) {
int retval, bits, alg_bits;
imap_capability(num_parms, parms);
}
-#ifdef HAVE_OPENSSL
+#ifdef HAVE_OPENSSL_XXX /* temporarily disabled due to bugs */
else if (!strcasecmp(parms[1], "STARTTLS")) {
imap_starttls(num_parms, parms);
}