newconf: remove plaintext listeners warning

Closes #270

[ci skip]
This commit is contained in:
Aaron Jones 2019-03-27 19:29:55 +00:00
parent 40a766a0a0
commit c87c8e5bfe
No known key found for this signature in database
GPG key ID: 8AF0737488AB3012

View file

@ -883,12 +883,6 @@ conf_set_listen_port_both(void *data, int ssl, int sctp)
}
if(listener_address[0] == NULL)
{
if (!ssl)
{
conf_report_warning("listener 'ANY/%d': support for plaintext listeners may be removed in a future release per RFCs 7194 & 7258. "
"It is suggested that users be migrated to SSL/TLS connections.", args->v.number);
}
if (sctp) {
conf_report_error("listener::sctp_port has no addresses -- ignoring.");
} else {
@ -904,12 +898,6 @@ conf_set_listen_port_both(void *data, int ssl, int sctp)
else
family = AF_INET;
if (!ssl)
{
conf_report_warning("listener '%s/%d': support for plaintext listeners may be removed in a future release per RFCs 7194 & 7258. "
"It is suggested that users be migrated to SSL/TLS connections.", listener_address, args->v.number);
}
if (sctp) {
#ifdef HAVE_LIBSCTP
add_sctp_listener(args->v.number, listener_address[0], listener_address[1], ssl, yy_wsock);