@cas said in libcurl - SSL and GZIP:
opkg install ca-bundle
Great, thanks @cas - opkg install ca-bundle
sorted that first one!
@cas said in libcurl - SSL and GZIP:
opkg install ca-bundle
Great, thanks @cas - opkg install ca-bundle
sorted that first one!
Hi, I'm pretty new to Onion - love the hardware, it's a really cool device
I'm trying to get a program running and have managed to get my head around the cross-compilation process and have C code running on device and could really do with some advice please!
The program uses a lib that in turn uses libcurl
in a way that seems to cause problems. I can edit the lib source and alter the CURL options to get a bit further in the process of getting my program running, but the options themselves should be pretty standardm so I hoped there's a fairly simple answer that I just can't find.
/etc/ssl/certs
and linked the program appropriately as far as I can tell - using -lz -lcrypto -lssl -lmbedtls -lmbedx509 -lmbedcrypto -lcurl
.libcurl
and SSL?For now I have added curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
, but that led to the next problem...
curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "gzip");
Thanks in advance,
Steve