Skip to content
Snippets Groups Projects
Commit b8b68f06 authored by Gary Williams's avatar Gary Williams
Browse files

set tls_port to zero if !defined(HAVE_TLS) to satisfy assert in slapd_daemon_init

parent f0f29cd8
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment