From b8b68f066887541f7e95732915cb00398685e000 Mon Sep 17 00:00:00 2001 From: Gary Williams Date: Wed, 21 Jul 1999 15:08:50 +0000 Subject: [PATCH] set tls_port to zero if !defined(HAVE_TLS) to satisfy assert in slapd_daemon_init --- servers/slapd/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/main.c b/servers/slapd/main.c index d8acd705ab..6d310de8c3 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -149,7 +149,11 @@ int main( int argc, char **argv ) int serverMode = SLAP_SERVER_MODE; int port = LDAP_PORT; +#ifdef HAVE_TLS int tls_port = LDAPS_PORT; +#else + int tls_port = 0; +#endif g_argc = argc; g_argv = argv; -- 2.39.5