]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_imap.c
* More work on IMAP TLS. Still not working correctly. :( Added in
[citadel.git] / citadel / serv_imap.c
index 421046210352a5702e1b7b5c8c4cc01352c1ebe8..8a757b5fafa45b163267db22e36a77ae01d4d1d0 100644 (file)
@@ -418,7 +418,7 @@ void imap_capability(int num_parms, char *parms[])
 {
        cprintf("* CAPABILITY IMAP4 IMAP4REV1 AUTH=LOGIN");
 
-#ifdef HAVE_OPENSSL_XXX_DISABLED
+#ifdef HAVE_OPENSSL_XXX
        cprintf(" STARTTLS");
 #endif
 
@@ -430,7 +430,7 @@ void imap_capability(int num_parms, char *parms[])
 /*
  * implements the STARTTLS command (lifted-from-Cyrus version)
  */
-#ifdef HAVE_OPENSSL
+#ifdef HAVE_OPENSSL_XXX
 void imap_starttls(int num_parms, char *parms[])
 {
        int sts;
@@ -502,7 +502,7 @@ done:
 /*
  * implements the STARTTLS command (original version)
  */
-#ifdef HAVE_OPENSSL_XXX
+#ifdef HAVE_OPENSSL
 void imap_starttls(int num_parms, char *parms[])
 {
        int retval, bits, alg_bits;