remove copy/paste remainings from previous commit
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2809 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.30
parent
a94bdd07df
commit
8c482a496d
|
@ -607,13 +607,6 @@ int network_init(server *srv) {
|
|||
SSL_CTX_set_options(s->ssl_ctx, ssloptions);
|
||||
SSL_CTX_set_info_callback(s->ssl_ctx, ssl_info_callback);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
if (!s->ssl_use_sslv2) {
|
||||
/* disable SSLv2 */
|
||||
if (!(SSL_OP_NO_SSLv2 & SSL_CTX_set_options(s->ssl_ctx, SSL_OP_NO_SSLv2))) {
|
||||
|
|
Loading…
Reference in New Issue