]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Build eapol_test against OpenSSL 1.1.0
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 2 Oct 2021 18:53:19 +0000 (13:53 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 2 Oct 2021 18:53:19 +0000 (13:53 -0500)
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.

.github/workflows/ci.yml
scripts/ci/eapol_test/config_osx

index deba565ef7fa019e5a9b6acb3433a458bb582479..fc0857688aa21731598399592e7cc5727ffba135 100644 (file)
@@ -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
index 920ed307e8b45d7f2956f4e095fa6505625afaf6..27c4c860d1a1abd18bf585bbcae6592ef6c1f9cc 100644 (file)
 # 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