08-ssl-retval-fix.patch
| lighttpd-1.4.25/src/network.c 2010-01-28 10:44:22.639208732 -0500 | ||
|---|---|---|
| 525 | 525 | |
| 526 | 526 |
if (!s->ssl_use_sslv2) {
|
| 527 | 527 |
/* disable SSLv2 */ |
| 528 |
if (SSL_OP_NO_SSLv2 != SSL_CTX_set_options(s->ssl_ctx, SSL_OP_NO_SSLv2)) {
|
|
| 528 |
if (!(SSL_OP_NO_SSLv2 & SSL_CTX_set_options(s->ssl_ctx, SSL_OP_NO_SSLv2))) {
|
|
| 529 | 529 |
log_error_write(srv, __FILE__, __LINE__, "ss", "SSL:", |
| 530 | 530 |
ERR_error_string(ERR_get_error(), NULL)); |
| 531 | 531 |
return -1; |