undeclared identifier 'CRYPTO_malloc_init' During BSDCan 2018 the intention to update OpenSSL in base to 1.1.x branch was documented. Intention is to update 12-STABLE to current 1.1.0 and subsequently update it to 1.1.1 when that is released. Poudriere log: https://keg.brnrd.eu/data/111amd64-default-openssl110/2018-06-11_10h42m37s/logs/errors/mysql56-server-5.6.40.log
Should solved for openssl with https://svnweb.freebsd.org/ports/head/databases/mysql56-server/files/patch-PR225888.diff?view=log&pathrev=481608 but still failes with libressl: undeclared identifier OPENSSL_malloc_ini in patch-PR225888.diff has to changed one line to: @@ -3408,7 +3408,11 @@ static int init_ssl() { #ifdef HAVE_OPENSSL #ifndef HAVE_YASSL ==> +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) CRYPTO_malloc_init(); +#else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ + OPENSSL_malloc_init(); +#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ #endif ssl_start(); #ifndef EMBEDDED_LIBRARY ----- "|| defined(LIBRESSL_VERSION_NUMBER)" was missing.
A commit references this bug: Author: mmokhi Date: Thu Oct 11 19:50:58 UTC 2018 New revision: 481848 URL: https://svnweb.freebsd.org/changeset/ports/481848 Log: databases/mysql56-server: Fix build with libressl after r481608 PR: 228899 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Reported by: brnrd Sponsored by: The FreeBSD Foundation Changes: head/databases/mysql56-server/Makefile head/databases/mysql56-server/files/patch-PR225888.diff
Thanks dear Walter (and Master Bernard ;D) Tested and committed.
A commit references this bug: Author: antoine Date: Fri Oct 19 11:56:08 UTC 2018 New revision: 482423 URL: https://svnweb.freebsd.org/changeset/ports/482423 Log: MFH: r481608 r481848 databases/mysql56-{client, server}: Fix build with OpenSSL1.1.x This is the backport of fix on mysql57 PR: 225888 Reported by: brnrd Reviewed by: antoine Sponsored by: The FreeBSD Foundation databases/mysql56-server: Fix build with libressl after r481608 PR: 228899 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Reported by: brnrd Sponsored by: The FreeBSD Foundation Changes: _U branches/2018Q4/ branches/2018Q4/databases/mysql56-client/Makefile branches/2018Q4/databases/mysql56-server/Makefile branches/2018Q4/databases/mysql56-server/files/patch-PR225888.diff branches/2018Q4/databases/mysql56-server/files/patch-mysys__ssl_my__aes__openssl.cc branches/2018Q4/databases/mysql56-server/files/patch-vio_viosslfactories.c