mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-28 09:39:18 -05:00
set tls_port to zero if !defined(HAVE_TLS) to satisfy assert in slapd_daemon_init
This commit is contained in:
parent
f0f29cd82e
commit
b8b68f0668
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue