Browse Source

[network/ssl] fix build error if TLSEXT is disabled

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2937 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.35
Stefan Bühler 9 years ago
parent
commit
a7396296da
  1. 2
      src/network.c

2
src/network.c

@ -583,7 +583,7 @@ static int network_openssl_load_pemfile(server *srv, size_t ndx) {
#ifdef OPENSSL_NO_TLSEXT
{
data_config *dc = (data_config *)srv->config_context->data[i];
data_config *dc = (data_config *)srv->config_context->data[ndx];
if ((ndx > 0 && (COMP_SERVER_SOCKET != dc->comp || dc->cond != CONFIG_COND_EQ))
|| !s->ssl_enabled) {
log_error_write(srv, __FILE__, __LINE__, "ss", "SSL:",

Loading…
Cancel
Save