tls: code shrink

function                                             old     new   delta
spawn_ssl_client                                     219     218      -1

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-11-14 11:35:36 +01:00
parent dbe95682b4
commit fe836d8455

View File

@ -717,8 +717,8 @@ static void spawn_ssl_client(const char *host, int network_fd, int flags)
char *servername, *p; char *servername, *p;
if (!(option_mask32 & WGET_OPT_NO_CHECK_CERT)) { if (!(option_mask32 & WGET_OPT_NO_CHECK_CERT)) {
bb_error_msg("note: TLS certificate validation not implemented");
option_mask32 |= WGET_OPT_NO_CHECK_CERT; option_mask32 |= WGET_OPT_NO_CHECK_CERT;
bb_error_msg("note: TLS certificate validation not implemented");
} }
servername = xstrdup(host); servername = xstrdup(host);