From: Arran Cudbard-Bell Date: Sat, 2 Oct 2021 18:53:19 +0000 (-0500) Subject: Build eapol_test against OpenSSL 1.1.0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=461107c7c5d43c03641aa57b040da23452504a5c;p=thirdparty%2Ffreeradius-server.git Build eapol_test against OpenSSL 1.1.0 Building against 3.0 produces many errors and the resulting eapol_test utility seems to fail in mschapv2. This is likely because it's not explicitly loading the "legacy" provider, and so md4 is not available. --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index deba565ef7..fc0857688a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,6 +150,7 @@ jobs: mariadb \ make \ mruby \ + openssl@1.1 \ openssl \ talloc ln -s `brew --prefix`/opt/make/bin/gmake /usr/local/bin/make diff --git a/scripts/ci/eapol_test/config_osx b/scripts/ci/eapol_test/config_osx index 920ed307e8..27c4c860d1 100644 --- a/scripts/ci/eapol_test/config_osx +++ b/scripts/ci/eapol_test/config_osx @@ -10,8 +10,10 @@ # to override previous values of the variables. CFLAGS += -g3 -O0 -Wno-unknown-warning-option -Wno-error=deprecated-declarations -Wno-error=void-pointer-to-enum-cast -CFLAGS += -I /usr/local/opt/openssl/include -I/usr/local/include/openssl -LIBS += -L/usr/local/opt/openssl/lib -L/usr/local/lib + +# Use OpenSSL 1.1 for now as eapol_test doesn't support 3.0.0 (as of master HEAD 2/10/2021) +CFLAGS += -I/usr/local/opt/openssl@1.1/include -I/usr/local/include/openssl +LIBS += -L/usr/local/opt/openssl@1.1/lib -L/usr/local/lib # Some Red Hat versions seem to include kerberos header files from OpenSSL, but # the kerberos files are not in the default include path. Following line can be