Date: Fri, 9 Feb 2024 17:39:46 +0100 From: Frank Lichtenheld Message-ID: References: <20240209155109.110542-1-juliusz@...2525...> MIME-Version: 1.0 In-Reply-To: <20240209155109.110542-1-juliusz@...2525...> Subject: Re: [Openvpn-devel] [PATCH] wolfssl: include "ssl.h" by "src/openvpn/ssl.h" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: inline To: Juliusz Sosinowicz Cc: openvpn-devel@lists.sourceforge.net On Fri, Feb 09, 2024 at 04:51:09PM +0100, Juliusz Sosinowicz wrote: > Including "ssl.h" conflicts with the wolfSSL ssl.h header file. The include/wolfssl directory is included before openvpn/src. include/wolfssl needs to be included so that openvpn can pick up wolfSSL compatibility headers instead of OpenSSL headers without changing the paths. This breaks out-of-tree builds. Currently we only add top_buildir to CFLAGS (for config.h) but NOT top_srcdir. For in-tree builds these are identical so the patch might appear to work. But it breaks otherwise. Further changes to buildsystem configuration would be required. Regards, -- Frank Lichtenheld