opkg: add --no-check-certificate argument
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 11 May 2017 19:42:02 +0000 (22:42 +0300)
committerJo-Philipp Wich <jo@mein.io>
Thu, 11 May 2017 23:18:41 +0000 (01:18 +0200)
commitc668fcec731bed7acc21b3f88f9a94cb55b9b498
tree0f6e696761c7f25b45bd5a9765fe60aac6c29c27
parent04e279eb1c0e37e324d955969780cfec272442b9
opkg: add --no-check-certificate argument

For cases when artifacts are stored on https:// accessible
locations and you don't want to install ca-certificates
(for various reasons).

I'll admit, using SSL like this is not recommended,
but since wget (even uclient-fetch) allows the
--no-check-certificate option, it would be nice
for opkg to support setting it if needed/configured.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
libopkg/opkg_conf.c
libopkg/opkg_conf.h
libopkg/opkg_download.c
src/opkg-cl.c