Skip to contentSkip to conversation

busybox: wget accept and ignore --no-check-certificate

PATCH New Bernhard Reutner-Fischer 1 participant 1 message Feb 10, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 busybox: wget accept and ignore --no-check-certificate

needed for self-hosting; applied to upstream

---
 .../0000-wget-no-check-certificate.patch           |   12 ++++++++++++
 recipes/busybox/busybox_1.15.3.bb                  |    1 +
 2 files changed, 13 insertions(+), 0 deletions(-)
 create mode 100644 recipes/busybox/busybox-1.15.3/0000-wget-no-check-certificate.patch
recipes/busybox/busybox-1.15.3/0000-wget-no-check-certificate.patch new file +12 -0
new file mode 100644
index 0000000..c737f17
@@ -0,0 +1,12 @@
+diff --git a/networking/wget.c b/networking/wget.c
+index 9d813dc..09edd67 100644
+--- a/networking/wget.c
++++ b/networking/wget.c
+@@ -546,6 +546,7 @@ 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"
++		"no-check-certificate\0" No_argument   "\xfc"
+ 		;
+ #endif
+ 
recipes/busybox/busybox_1.15.3.bb +1 -0
index b638f9c..1e1aa1e 100644
@@ -9,6 +9,7 @@ SRC_URI = "\
   file://B921600.patch;patch=1 \
   file://get_header_tar.patch;patch=1 \
   file://busybox-appletlib-dependency.patch;patch=1 \
+  file://0000-wget-no-check-certificate.patch;patch=1 \
   file://find-touchscreen.sh \
   file://busybox-cron \
   file://busybox-httpd \
Signature · 1 line
1.6.5