aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2019-01-12 15:32:15 (GMT)
committerJouni Malinen <j@w1.fi>2019-01-12 15:32:15 (GMT)
commitcbf25808b9cc8678e1bb8a7ce1f359f3be8db296 (patch)
tree3b305da9195ef5e40e1a3184e66f62a389aef45a
parent67d35396cbf3ba14a5ec3abc159edb9428b469cd (diff)
downloadhostap-cbf25808b9cc8678e1bb8a7ce1f359f3be8db296.zip
hostap-cbf25808b9cc8678e1bb8a7ce1f359f3be8db296.tar.gz
hostap-cbf25808b9cc8678e1bb8a7ce1f359f3be8db296.tar.bz2
tests: Build with various LibreSSL and OpenSSL versions
Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--tests/build/build-wpa_supplicant-libressl-2.8.config28
-rw-r--r--tests/build/build-wpa_supplicant-libressl-2.9.config28
-rw-r--r--tests/build/build-wpa_supplicant-openssl-1.0.2.config30
-rw-r--r--tests/build/build-wpa_supplicant-openssl-1.1.0.config30
-rw-r--r--tests/build/build-wpa_supplicant-openssl-1.1.1.config30
5 files changed, 146 insertions, 0 deletions
diff --git a/tests/build/build-wpa_supplicant-libressl-2.8.config b/tests/build/build-wpa_supplicant-libressl-2.8.config
new file mode 100644
index 0000000..96f9e67
--- /dev/null
+++ b/tests/build/build-wpa_supplicant-libressl-2.8.config
@@ -0,0 +1,28 @@
+CONFIG_TLS=openssl
+LIBRESSLDIR=/usr/local/libressl/2.8.3
+CFLAGS += -I$(LIBRESSLDIR)/include
+LIBS += -L$(LIBRESSLDIR)/lib
+LIBS_p += -L$(LIBRESSLDIR)/lib
+LDFLAGS += -Wl,-rpath=$(LIBRESSLDIR)/lib
+
+CONFIG_WPS=y
+CONFIG_EAP_TLS=y
+CONFIG_EAP_MSCHAPV2=y
+
+CONFIG_EAP_PSK=y
+CONFIG_EAP_GPSK=y
+CONFIG_EAP_AKA=y
+CONFIG_EAP_SIM=y
+CONFIG_EAP_SAKE=y
+CONFIG_EAP_PAX=y
+CONFIG_EAP_FAST=y
+CONFIG_EAP_IKEV2=y
+
+CONFIG_SAE=y
+CONFIG_FILS=y
+CONFIG_FILS_SK_PFS=y
+CONFIG_OWE=y
+CONFIG_DPP=y
+
+CONFIG_IEEE80211W=y
+CFLAGS += -Werror
diff --git a/tests/build/build-wpa_supplicant-libressl-2.9.config b/tests/build/build-wpa_supplicant-libressl-2.9.config
new file mode 100644
index 0000000..6b0d31b
--- /dev/null
+++ b/tests/build/build-wpa_supplicant-libressl-2.9.config
@@ -0,0 +1,28 @@
+CONFIG_TLS=openssl
+LIBRESSLDIR=/usr/local/libressl/2.9.0
+CFLAGS += -I$(LIBRESSLDIR)/include
+LIBS += -L$(LIBRESSLDIR)/lib
+LIBS_p += -L$(LIBRESSLDIR)/lib
+LDFLAGS += -Wl,-rpath=$(LIBRESSLDIR)/lib
+
+CONFIG_WPS=y
+CONFIG_EAP_TLS=y
+CONFIG_EAP_MSCHAPV2=y
+
+CONFIG_EAP_PSK=y
+CONFIG_EAP_GPSK=y
+CONFIG_EAP_AKA=y
+CONFIG_EAP_SIM=y
+CONFIG_EAP_SAKE=y
+CONFIG_EAP_PAX=y
+CONFIG_EAP_FAST=y
+CONFIG_EAP_IKEV2=y
+
+CONFIG_SAE=y
+CONFIG_FILS=y
+CONFIG_FILS_SK_PFS=y
+CONFIG_OWE=y
+CONFIG_DPP=y
+
+CONFIG_IEEE80211W=y
+CFLAGS += -Werror
diff --git a/tests/build/build-wpa_supplicant-openssl-1.0.2.config b/tests/build/build-wpa_supplicant-openssl-1.0.2.config
new file mode 100644
index 0000000..10f49fd
--- /dev/null
+++ b/tests/build/build-wpa_supplicant-openssl-1.0.2.config
@@ -0,0 +1,30 @@
+CONFIG_TLS=openssl
+OPENSSLDIR=/usr/local/openssl/1.0.2q
+CFLAGS += -I$(OPENSSLDIR)/include
+LIBS += -L$(OPENSSLDIR)/lib
+LDFLAGS += -Wl,-rpath=$(OPENSSLDIR)/lib
+CONFIG_TLS_ADD_DL=y
+
+CONFIG_WPS=y
+CONFIG_EAP_TLS=y
+CONFIG_EAP_MSCHAPV2=y
+
+CONFIG_EAP_PSK=y
+CONFIG_EAP_GPSK=y
+CONFIG_EAP_AKA=y
+CONFIG_EAP_SIM=y
+CONFIG_EAP_SAKE=y
+CONFIG_EAP_PAX=y
+CONFIG_EAP_FAST=y
+CONFIG_EAP_IKEV2=y
+
+CONFIG_SAE=y
+CONFIG_FILS=y
+CONFIG_FILS_SK_PFS=y
+CONFIG_OWE=y
+CONFIG_DPP=y
+CONFIG_SUITEB=y
+CONFIG_SUITEB192=y
+
+CONFIG_IEEE80211W=y
+CFLAGS += -Werror
diff --git a/tests/build/build-wpa_supplicant-openssl-1.1.0.config b/tests/build/build-wpa_supplicant-openssl-1.1.0.config
new file mode 100644
index 0000000..d4befd9
--- /dev/null
+++ b/tests/build/build-wpa_supplicant-openssl-1.1.0.config
@@ -0,0 +1,30 @@
+CONFIG_TLS=openssl
+OPENSSLDIR=/usr/local/openssl/1.1.0j
+CFLAGS += -I$(OPENSSLDIR)/include
+LIBS += -L$(OPENSSLDIR)/lib
+LDFLAGS += -Wl,-rpath=$(OPENSSLDIR)/lib
+CONFIG_TLS_ADD_DL=y
+
+CONFIG_WPS=y
+CONFIG_EAP_TLS=y
+CONFIG_EAP_MSCHAPV2=y
+
+CONFIG_EAP_PSK=y
+CONFIG_EAP_GPSK=y
+CONFIG_EAP_AKA=y
+CONFIG_EAP_SIM=y
+CONFIG_EAP_SAKE=y
+CONFIG_EAP_PAX=y
+CONFIG_EAP_FAST=y
+CONFIG_EAP_IKEV2=y
+
+CONFIG_SAE=y
+CONFIG_FILS=y
+CONFIG_FILS_SK_PFS=y
+CONFIG_OWE=y
+CONFIG_DPP=y
+CONFIG_SUITEB=y
+CONFIG_SUITEB192=y
+
+CONFIG_IEEE80211W=y
+CFLAGS += -Werror
diff --git a/tests/build/build-wpa_supplicant-openssl-1.1.1.config b/tests/build/build-wpa_supplicant-openssl-1.1.1.config
new file mode 100644
index 0000000..6078d54
--- /dev/null
+++ b/tests/build/build-wpa_supplicant-openssl-1.1.1.config
@@ -0,0 +1,30 @@
+CONFIG_TLS=openssl
+OPENSSLDIR=/usr/local/openssl/1.1.1a
+CFLAGS += -I$(OPENSSLDIR)/include
+LIBS += -L$(OPENSSLDIR)/lib
+LDFLAGS += -Wl,-rpath=$(OPENSSLDIR)/lib
+CONFIG_TLS_ADD_DL=y
+
+CONFIG_WPS=y
+CONFIG_EAP_TLS=y
+CONFIG_EAP_MSCHAPV2=y
+
+CONFIG_EAP_PSK=y
+CONFIG_EAP_GPSK=y
+CONFIG_EAP_AKA=y
+CONFIG_EAP_SIM=y
+CONFIG_EAP_SAKE=y
+CONFIG_EAP_PAX=y
+CONFIG_EAP_FAST=y
+CONFIG_EAP_IKEV2=y
+
+CONFIG_SAE=y
+CONFIG_FILS=y
+CONFIG_FILS_SK_PFS=y
+CONFIG_OWE=y
+CONFIG_DPP=y
+CONFIG_SUITEB=y
+CONFIG_SUITEB192=y
+
+CONFIG_IEEE80211W=y
+CFLAGS += -Werror