projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a0405
)
wget: print "TLS certificate validation not implemented" only once on redirects
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 13 Nov 2018 11:00:19 +0000
(12:00 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 13 Nov 2018 11:00:19 +0000
(12:00 +0100)
function old new delta
spawn_ssl_client 209 219 +10
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/wget.c
patch
|
blob
|
history
diff --git
a/networking/wget.c
b/networking/wget.c
index 33c93bad3136f61894ae3ae271b20a9b62935e92..a9a0f5f8cb14e097c7bd3c42446d5819d11251ff 100644
(file)
--- a/
networking/wget.c
+++ b/
networking/wget.c
@@
-716,8
+716,10
@@
static void spawn_ssl_client(const char *host, int network_fd, int flags)
int pid;
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;
+ }
servername = xstrdup(host);
p = strrchr(servername, ':');