wget: shrink code if https isn't supported
authorRon Yorston <rmy@pobox.com>
Mon, 12 Oct 2015 09:51:25 +0000 (10:51 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 13 Oct 2015 12:56:22 +0000 (14:56 +0200)
commit4d0c1ea4784c9844f8468d97ca5c26d3c70f9921
tree3130f0d48e0e370e20dc04ff270d0ed8e8388f6e
parentab3964db4e75e34f6f9347406c5fd2bced04f2dd
wget: shrink code if https isn't supported

If FEATURE_WGET_OPENSSL and FEATURE_WGET_SSL_HELPER are both disabled
there's no point in checking for https URLs.

function                                             old     new   delta
P_HTTPS                                                6       -      -6
.rodata                                           155501  155469     -32
parse_url                                            476     423     -53
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-91)             Total: -91 bytes

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/wget.c