From: Alan T. DeKok Date: Thu, 13 Sep 2012 12:54:46 +0000 (+0200) Subject: Allow building without TLS X-Git-Tag: release_3_0_0_beta1~1718 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=667fc97b5cc4169996fe03ee747eeb8f974691ae;p=thirdparty%2Ffreeradius-server.git Allow building without TLS --- diff --git a/src/main/command.c b/src/main/command.c index bd702a5b71f..89d89119cff 100644 --- a/src/main/command.c +++ b/src/main/command.c @@ -2148,11 +2148,13 @@ static int command_socket_parse(CONF_SECTION *cs, rad_listen_t *this) rcode = common_socket_parse(cs, this); if (rcode < 0) return -1; +#ifdef WITH_TLS if (this->tls) { cf_log_err(cf_sectiontoitem(cs), "TLS is not supported for control sockets"); return -1; } +#endif sock = this->data; if (sock->proto != IPPROTO_TCP) {