← Commit list

dbe95682b

Denys Vlasenko
Denys Vlasenko
2018-11-13
SUCCESS Duration: 147s

Subject

wget: print "TLS certificate validation not implemented" only once on redirects

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/wget.c+3 -1
@@ -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, ':');