The current libtcnative has one regression and one nag. Please apply the following patches when LibreSSL is used:
* Revert https://github.com/apache/tomcat-native/commit/b8649e81458194d70667952d9e26df82a79c773f
* Apply https://github.com/apache/tomcat-native/commit/14f47ffea3105db6f17bee4a029eaf73e94ddee4
and bump the port revision
Can they be reverted/applied also when openssl is used?
(In reply to Alex Dupre from comment #1)
From the top of my head: Yes, but I need to verify to be 100% sure. Will do this evening.
I have branched off 1.2.24 and cherry picked those two commits. Ran all Tomcat tests on 12.1-STABLE with OpenSSL 1.0.2 from source, OpenSSL 1.1.1 from base and LibreSSL from master and everything works. Except org.apache.tomcat.util.net.TestSSLHostConfigCompat. This one crashes due to incompat between OpenSSL/LibreSSL, but that this OK.
Find the required patches attached.
Created attachment 214392 [details]
Created attachment 214393 [details]
Please ignore the hunks on changelog.xml. They are irrelevant.
A commit references this bug:
Date: Wed May 13 07:55:25 UTC 2020
New revision: 535088
Fix build with libressl.
Submitted by: Michael Osipov <firstname.lastname@example.org>
Very much welcome! I have already the next series of issues with LibreSSL identified and will put them upstream.
Hope to earn port commit bit at some point in future.