From: Alan T. DeKok Date: Thu, 19 May 2011 10:16:28 +0000 (+0200) Subject: Build without TLS X-Git-Tag: release_3_0_0_beta0~819 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c259c0ed42867755ed091a2435092da7e0a8d78;p=thirdparty%2Ffreeradius-server.git Build without TLS --- diff --git a/src/main/listen.c b/src/main/listen.c index 1fb1286b366..7a67ab69d57 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -816,10 +816,12 @@ static int socket_print(const rad_listen_t *this, char *buffer, size_t bufsize) snprintf(buffer, bufsize, "%d", sock->my_port); FORWARD; +#ifdef WITH_TLS if (this->tls) { ADDSTRING(" (TLS)"); FORWARD; } +#endif if (this->server) { ADDSTRING(" as server "); @@ -2610,6 +2612,9 @@ int listen_init(CONF_SECTION *config, rad_listen_t **head, int spawn_flag) #ifdef WITH_PROXY int defined_proxy = 0; #endif +#ifndef WITH_TLS + spawn_flag = spawn_flag; /* -Wunused */ +#endif /* * We shouldn't be called with a pre-existing list.