* honor the openssl configure define, so we don't die if we don't have it.
[citadel.git] / citadel / modules / smtp / serv_smtp.c
index df9b3d632eea8e49cd6bb035c90ac76367dad85b..ac60e79d7311cfaa73eea5233bfe67ced6c47a66 100644 (file)
@@ -166,7 +166,9 @@ void smtp_greeting(int is_msa)
  */
 void smtps_greeting(void) {
        CtdlModuleStartCryptoMsgs(NULL, NULL, NULL);
+#ifdef HAVE_OPENSSL
        if (!CC->redirect_ssl) CC->kill_me = 1;         /* kill session if no crypto */
+#endif
        smtp_greeting(0);
 }