Project

General

Profile

Bug #2157 ยป 08-ssl-retval-fix.patch

Patch to allow for multiple bits in option mask - mlcreech, 2010-01-28 15:50

View differences:

lighttpd-1.4.25/src/network.c 2010-01-28 10:44:22.639208732 -0500
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;
    (1-1/1)