tce-load -iw wget compiletc squashfs-tools fltk-1.3-dev openssl-1.1.1-dev cd /home/tc /usr/bin/wget http://www.dillo.org/download/dillo-3.0.5.tar.bz2 tar xf *.tar.bz2 cd dillo-3.0.5 #In dpi/https.c replace "/etc/ssl/certs/" to "/usr/local/etc/ssl/certs/" #In dillo-3.0.5/configure { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : ssl_ok=yes else ssl_ok=no #replace the last line with ssl_ok=yes #In dpi/https.c you have to change this #https://hg.dillo.org/dillo/rev/b171b8610400 line diff --- a/dpi/https.c Tue Jun 30 15:37:28 2015 +0000 +++ b/dpi/https.c Fri Apr 06 09:34:31 2018 +0200 @@ -476,7 +476,11 @@ case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT: /*Either self signed and untrusted*/ /*Extract CN from certificate name information*/ +#if OPENSSL_VERSION_NUMBER < 0x10100000L if ((cn = strstr(remote_cert->name, "/CN=")) == NULL) { +#else + if ((cn = strstr(X509_get_subject_name(remote_cert), "/CN=")) == NULL) { +#endif strcpy(buf, "(no CN given)"); } else { char *cn_end; export CFLAGS="-mtune=generic -Os -pipe" export CXXFLAGS="-mtune=generic -Os -pipe" export LDFLAGS="-Wl,-O1" ./configure --prefix=/usr/local --enable-ssl --disable-ipv6 --localstatedir=/var mkdir /tmp/dillo sudo make DESTDIR=/tmp/dillo install-strip cd /tmp mksquashfs /tmp/dillo dillo.tcz #dependencies #tce-load -iw wget ca-certificates.tcz dejavu-fonts-ttf.tcz libXcursor.tcz fltk-1.3.tcz