[git commit] tls: code shrink

Denys Vlasenko vda.linux at googlemail.com
Wed Nov 14 10:35:36 UTC 2018


commit: https://git.busybox.net/busybox/commit/?id=fe836d84554c007916adc1c2e5f5daae2f878947
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

function                                             old     new   delta
spawn_ssl_client                                     219     218      -1

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/wget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/wget.c b/networking/wget.c
index a9a0f5f8c..65262e19d 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -717,8 +717,8 @@ static void spawn_ssl_client(const char *host, int network_fd, int flags)
 	char *servername, *p;
 
 	if (!(option_mask32 & WGET_OPT_NO_CHECK_CERT)) {
-		bb_error_msg("note: TLS certificate validation not implemented");
 		option_mask32 |= WGET_OPT_NO_CHECK_CERT;
+		bb_error_msg("note: TLS certificate validation not implemented");
 	}
 
 	servername = xstrdup(host);


More information about the busybox-cvs mailing list