diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2009-10-20 10:17:06 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2009-10-20 10:17:06 +0000 |
commit | aca4345505d929b4d06d87c56b989e2d8fbe1f5c (patch) | |
tree | 02b47c4c88243bdb5f21edc83a040dcdd037544e | |
parent | b6ee32f1fe79df2ec2eba0d8ec9f4e4b28ab770d (diff) | |
download | lighttpd-aca4345505d929b4d06d87c56b989e2d8fbe1f5c.tar.gz |
Fix build errors when ssl is disabled
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@2671 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | src/configfile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/configfile.c b/src/configfile.c index 0aa5778e..8cb5c691 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -326,7 +326,9 @@ int config_setup_connection(server *srv, connection *con) { PATCH(is_ssl); PATCH(ssl_pemfile); +#ifdef USE_OPENSSL PATCH(ssl_ctx); +#endif PATCH(ssl_ca_file); PATCH(ssl_cipher_list); PATCH(ssl_use_sslv2); @@ -386,7 +388,9 @@ int config_patch_connection(server *srv, connection *con, comp_key_t comp) { PATCH(use_xattr); } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("ssl.pemfile"))) { PATCH(ssl_pemfile); +#ifdef USE_OPENSSL PATCH(ssl_ctx); +#endif } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("ssl.ca-file"))) { PATCH(ssl_ca_file); } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("ssl.engine"))) { |