From 3fdba181c34f537867fce0b5afa2cc360b11be25 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 10 Feb 2010 19:37:29 +0100 Subject: 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 --- include/usage.h | 2 +- networking/wget.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/usage.h b/include/usage.h index c2ffb6d6e..643d35fad 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 9d813dcc2..2b9ba55c3 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 -- cgit v1.2.3