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 2011-11-30 20:57:54 +00:00
parent b748fb890d
commit 456d7f4790
1 changed files with 2 additions and 0 deletions

View File

@ -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;