TLS: move from SUPPORT_TLS to DISABLE_TLS macro for the build
[exim.git] / src / src / ip.c
index 8b506109e32a2d8082adb22cc006873a891ae40e..fb42f005107e442e92545b6bc806c1ec26024c3e 100644 (file)
@@ -653,7 +653,7 @@ if (!fd_ready(cctx->sock, timeout))
 /* The socket is ready, read from it (via TLS if it's active). On EOF (i.e.
 close down of the connection), set errno to zero; otherwise leave it alone. */
 
-#ifdef SUPPORT_TLS
+#ifndef DISABLE_TLS
 if (cctx->tls_ctx)                                     /* client TLS */
   rc = tls_read(cctx->tls_ctx, buffer, buffsize);
 else if (tls_in.active.sock == cctx->sock)             /* server TLS */