TLS: rework client-side use with an explicit context rather than a global
[users/jgh/exim.git] / src / src / daemon.c
index 4a89afe742b0ba8005ad19950ec22239f53d6496..a382a734ecc6e62ce529579fbf18543cb8718995 100644 (file)
@@ -648,7 +648,7 @@ if (pid == 0)
         the data structures if necessary. */
 
 #ifdef SUPPORT_TLS
-        tls_close(TRUE, TLS_NO_SHUTDOWN);
+        tls_close(NULL, TLS_NO_SHUTDOWN);
 #endif
 
         /* Reset SIGHUP and SIGCHLD in the child in both cases. */