OpenWrt Forum Archive

Topic: OpenSSL version is outdated, how to upgrade to OpenSSL 1.1.0?

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

The latest Openssl package for Openwrt is for Openssl 1.0.2h, as you can see here: github.com/openwrt-mirror/openwrt/tree/master/package/libs/openssl

OpenSSL 1.1.0 has a lot of changes compared to OpenSSL 1.0.2, so it isn't possible to just make a few changes to the Makefile in order to compile OpenSSL 1.1.0 for OpenWrt.

How can I cross-compile OpenSSL 1.1.0f for an OpenWRT router?

It's fairly easy to compile openssl-1.1.0. However, 1.1.0 contains significant changes to the openssl API which breaks many, many packages that are dependent on openssl. I compiled it last year when it was first released but the API changes made it impossible to use without patching many packages.

If you want, I can post the Makefile I used to compile 1.1.0 for 15.05, but I recommend you don't even try.

The discussion might have continued from here.