[Interest] Android 5 and ssl 1.1.1

maitai maitai at virtual-winds.org
Sat Oct 17 07:00:22 CEST 2020


Hi all,

We are currently migrating to Android bundle (.aab) and qt 5.15.1, and I 
have some questions related to Android 5 (SDK 21) and SSL

So far we were distributing apk built with 5.12.3/SSL 1.0 for android 4 
and 5, and apk built with 5.13.2/SSL 1.1.1 for Android 6 and above.

With the new system we will distribute 4 apk in a bundle built with qt 
5.15.1, all starting at Android 5.

Concerning SSL we followed the recommandations found here: 
https://doc.qt.io/qt-5/android-openssl-support.html . No problem, since 
it is very similar to what we were doing before.

The question relates to Android 5: in the link above it is stated:

Without a suffix, Android 5 (API 21) will load the system libraries 
libcrypto.so and libssl.so, which are OpenSSL 1.0, rather than your 
libraries.

While on KDAB it says:

Be aware that on Android 5 (API 21) these libs names are clashing with 
the system SSL libs which are using OpenSSL 1.0, this means your Qt app 
will fail to use OpenSSL 1.1 as the system ones are already loaded by 
the OS.


Since we force 1_1_1 suffix and libs are included in the apk/bundle does 
it means Android 5/SSL will be OK ? I tested a bit on an old tablet and 
it seems OK, but will it be OK on all devices?

Thanks for any light on this

Philippe.


More information about the Interest mailing list