Bug #83814 Add support for OpenSSL 1.1
Submitted: 14 Nov 2016 16:42 Modified: 13 Dec 2017 2:01
Reporter: Honza Horak (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:all OS:Fedora (Fedora 26 and further)
Assigned to: CPU Architecture:Any
Tags: openssl

[14 Nov 2016 16:42] Honza Horak
Description:
This is basically cross-posted issue similar to:
https://jira.mariadb.org/browse/MDEV-10332

Since we have OpenSSL 1.1 in Fedora Rawhide (soon to be 26), we need to do something about it. As I mentioned in the MariaDB tracker, I think it would be great to join the forces to make the ports look similarly. 

How to repeat:
Build MySQL 5.7 on Fedora Rawhide.

Suggested fix:
Port MySQL for OpenSSL.
[15 Nov 2016 5:55] MySQL Verification Team
Hello Honza,

Thank you for report and feedback!

Thanks,
Umesh
[9 Mar 2017 12:57] Patrick Wallner
patch for my_aes_openssl

Attachment: my_aes_openssl.patch (application/octet-stream, text), 2.75 KiB.

[9 Mar 2017 12:58] Patrick Wallner
patch for viosslfactories

Attachment: viosslfactories.patch (application/octet-stream, text), 1.08 KiB.

[9 Mar 2017 12:59] Patrick Wallner
With this patches the compiling is working with openssl 1.1 on my linux (oe2.5 with armv7l CPU).
[9 Mar 2017 20:35] Patrick Wallner
xcom_ssl_transport.c patch

Attachment: xcom_ssl_transport.c.patch (application/octet-stream, text), 1.06 KiB.

[9 Mar 2017 20:36] Patrick Wallner
mysqld.cc patch

Attachment: mysqld.cc.patch (application/octet-stream, text), 200 bytes.

[9 Apr 2017 8:43] Terje Røsten
Marked as duplicate: https://bugs.mysql.com/bug.php?id=85865
[10 Dec 2017 9:02] Honza Horak
Similar patch for MySQL 8.0.3

Attachment: community-mysql-openssl11.patch (text/x-patch), 26.69 KiB.

[13 Dec 2017 2:01] Paul DuBois
Posted by developer:
 
Fixed in 8.0.4, 9.0.0.

MySQL can now be linked against OpenSSL 1.1 on Unix and Unix-like systems.
[20 Apr 2018 8:19] Terje Røsten
Fixed in 5.7.23.

MySQL 5.7 can now be linked against OpenSSL 1.1 on Unix and Unix-like systems.
[20 Apr 2018 8:24] Terje Røsten
https://bugs.mysql.com/bug.php?id=90506 marked as duplicate.
[29 Jul 2019 9:04] Erlend Dahl
Bug#89476 Mysql: Compilation fails on FreeBsd 11.1 with WITH_SSL=system

was marked as a duplicate.