Browse Source

fix compile error when ssl is not enabled

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2812 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.30
Stefan Bühler 11 years ago
parent
commit
456d7f4790
  1. 2
      src/network.c

2
src/network.c

@ -27,6 +27,7 @@
# include <openssl/rand.h>
#endif
#ifdef USE_OPENSSL
static void ssl_info_callback(const SSL *ssl, int where, int ret) {
UNUSED(ret);
@ -37,6 +38,7 @@ static void ssl_info_callback(const SSL *ssl, int where, int ret) {
ssl->s3->flags |= SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS;
}
}
#endif
static handler_t network_server_handle_fdevent(server *srv, void *context, int revents) {
server_socket *srv_socket = (server_socket *)context;

Loading…
Cancel
Save