[mod_openssl] clarify trace w/ deprecated options
@@ -3104,7 +3104,10 @@ mod_openssl_set_defaults_sockets(server *srv, plugin_data *p)
conf.ssl_empty_fragments = (0 != cpv->v.u);
log_error(srv->errh, __FILE__, __LINE__, "SSL: "
"ssl.empty-fragments is deprecated and will soon be "
- "removed. If needed, use: ssl.openssl.ssl-conf-cmd = "
+ "removed. It is disabled by default.");
+ if (conf.ssl_empty_fragments)
+ log_error(srv->errh, __FILE__, __LINE__, "SSL: "
+ "If needed, use: ssl.openssl.ssl-conf-cmd = "
"(\"Options\" => \"EmptyFragments\")");
log_error(srv->errh, __FILE__, __LINE__, "SSL: "
"ssl.empty-fragments is a "
@@ -3116,15 +3119,19 @@ mod_openssl_set_defaults_sockets(server *srv, plugin_data *p)
conf.ssl_use_sslv2 = (0 != cpv->v.u);
log_error(srv->errh, __FILE__, __LINE__, "SSL: "
"ssl.use-sslv2 is deprecated and will soon be removed. "
+ "It is disabled by default. "
"Many modern TLS libraries no longer support SSLv2.");
break;
case 9: /* ssl.use-sslv3 */
conf.ssl_use_sslv3 = (0 != cpv->v.u);
log_error(srv->errh, __FILE__, __LINE__, "SSL: "
"ssl.use-sslv3 is deprecated and will soon be removed. "
- "Many modern TLS libraries no longer support SSLv3. "
- "If needed, use: "
- "ssl.openssl.ssl-conf-cmd = (\"MinProtocol\" => \"SSLv3\")");
+ "It is disabled by default. "
+ "Many modern TLS libraries no longer support SSLv3.");
+ if (conf.ssl_use_sslv3)
+ log_error(srv->errh, __FILE__, __LINE__, "SSL: "
+ "If needed, use: ssl.openssl.ssl-conf-cmd = "
+ "(\"MinProtocol\" => \"SSLv3\")");
break;
case 10:/* ssl.stek-file */
if (!buffer_is_empty(cpv->v.b))
