]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/serv_imap.c
* honor the openssl configure define, so we don't die if we don't have it.
[citadel.git] / citadel / modules / imap / serv_imap.c
index ca4acfb6c38dca00a0ad52381d67f5dd244d11e7..19299eba19812ba13d906f6f8aa5845d91849088 100644 (file)
@@ -508,6 +508,9 @@ void imap_greeting(void)
  */
 void imaps_greeting(void) {
        CtdlModuleStartCryptoMsgs(NULL, NULL, NULL);
+#ifdef HAVE_OPENSSL
+       if (!CC->redirect_ssl) CC->kill_me = 1;         /* kill session if no crypto */
+#endif
        imap_greeting();
 }