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:
parent
dbe95682b4
commit
fe836d8455
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user