diff options
author | Bernhard Reutner-Fischer | 2010-02-10 19:37:29 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2010-02-10 19:37:29 +0100 |
commit | 3fdba181c34f537867fce0b5afa2cc360b11be25 (patch) | |
tree | 0e9f2a1f30b16a507e275782a1ff41cd85d867d5 | |
parent | 10544a841002a9b4075ee267effcd330a0c705ca (diff) | |
download | busybox-3fdba181c34f537867fce0b5afa2cc360b11be25.zip busybox-3fdba181c34f537867fce0b5afa2cc360b11be25.tar.gz |
wget: ignore --no-check-certificate
Used in a number of scripts, don't barf on it (we don't do ssl ATM).
function old new delta
static.wget_longopts 122 145 +23
.rodata 131925 131947 +22
packed_usage 26860 26859 -1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 45/-1) Total: 44 bytes
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | include/usage.h | 2 | ||||
-rw-r--r-- | networking/wget.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index c2ffb6d..643d35f 100644 --- a/include/usage.h +++ b/include/usage.h @@ -5083,7 +5083,7 @@ IF_FEATURE_WGET_LONG_OPTIONS( \ "[-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document file]\n" \ " [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]\n" \ - " [-U|--user-agent agent] url" \ + " [--no-check-certificate] [-U|--user-agent agent] url" \ ) \ IF_NOT_FEATURE_WGET_LONG_OPTIONS( \ "[-csq] [-O file] [-Y on/off] [-P DIR] [-U agent] url" \ diff --git a/networking/wget.c b/networking/wget.c index 9d813dc..2b9ba55 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -546,6 +546,8 @@ int wget_main(int argc UNUSED_PARAM, char **argv) "passive-ftp\0" No_argument "\xff" "header\0" Required_argument "\xfe" "post-data\0" Required_argument "\xfd" + /* Ignored (we don't do ssl) */ + "no-check-certificate\0" No_argument "\xfc" ; #endif |