From 6f472dd19ef7cdd5558fb837116b154545702377 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 17 Jun 2010 19:46:06 +0000 Subject: - Fix SSL related error, lighttpd bug #2157 - Bump PORTREVISION PR: ports/147187 Submitted by: Hartmann, "O." Approved by: mnag (maintainer) Obtained from: http://redmine.lighttpd.net/issues/2157 --- www/lighttpd/files/patch-src__network.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 www/lighttpd/files/patch-src__network.c (limited to 'www/lighttpd/files') diff --git a/www/lighttpd/files/patch-src__network.c b/www/lighttpd/files/patch-src__network.c new file mode 100644 index 000000000000..996d8002a9aa --- /dev/null +++ b/www/lighttpd/files/patch-src__network.c @@ -0,0 +1,11 @@ +--- src/network.c 2010-01-28 10:43:33.829209750 -0500 ++++ src/network.c 2010-01-28 10:44:22.639208732 -0500 +@@ -525,7 +525,7 @@ int network_init(server *srv) { + + if (!s->ssl_use_sslv2) { + /* disable SSLv2 */ +- if (SSL_OP_NO_SSLv2 != SSL_CTX_set_options(s->ssl_ctx, SSL_OP_NO_SSLv2)) { ++ if (!(SSL_OP_NO_SSLv2 & SSL_CTX_set_options(s->ssl_ctx, SSL_OP_NO_SSLv2))) { + log_error_write(srv, __FILE__, __LINE__, "ss", "SSL:", + ERR_error_string(ERR_get_error(), NULL)); + return -1; -- cgit v1.2.3