On Fri, Apr 08, 2022 at 02:27:33PM -0400, Alan DeKok wrote: > This patch allows hostap / wpa_supplicant to build with OpenSSL3. It uses the OpenSLL 1.1.0 compatibility API. It's a one-line change to a Makefile, and doesn't change any API uses in the rest of the source. > > The resulting eapol_test works for me in limited tests. However, OpenSSL3 sometimes behaves differently from OpenSSL 1.1.0, even for similar API calls / callbacks. There's no guarantee that a binary built against OpenSLL3 will still work in exactly the same way as one built against OpenSSL 1.1.0. I can build wpa_supplicant and eapol_test without such a change on Ubuntu 22.04 beta with only OpenSSL 3.0 installed on the system. Sure, there are still quite a few compiler warnings from the use of deprecated functions, but as long as -Werror is not used, this should work just fine. And if someone does want to define some special parameters for OpenSSL, that should be done in wpa_supplicant/.config instead of hardcoding them to be used from a Makefile. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap