Hello! The OpenSSL licence will change from 3.0.0 onwards (https://www.openssl.org/source/license.html) but you are right that for version 1.1.1 the SSLeay clause applies. MySQL and MariaDB has the OpenSSL exception, and YaSSL has been used due to earlier interpretation by non-maintainers that it might be needed, but currently I think using OpenSSL is the right thing to use, just like upstream MariaDB uses as well.
- Bug#921488: libmariadb3: OpenSSL license contamination o... Steve Langasek
- Bug#921488: [debian-mysql] Bug#921488: libmariadb3:... Otto Kekäläinen
- Bug#921488: [debian-mysql] Bug#921488: libmaria... Steve Langasek

