From cbf25808b9cc8678e1bb8a7ce1f359f3be8db296 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 12 Jan 2019 17:32:15 +0200 Subject: [PATCH] tests: Build with various LibreSSL and OpenSSL versions Signed-off-by: Jouni Malinen --- .../build-wpa_supplicant-libressl-2.8.config | 28 +++++++++++++++++ .../build-wpa_supplicant-libressl-2.9.config | 28 +++++++++++++++++ .../build-wpa_supplicant-openssl-1.0.2.config | 30 +++++++++++++++++++ .../build-wpa_supplicant-openssl-1.1.0.config | 30 +++++++++++++++++++ .../build-wpa_supplicant-openssl-1.1.1.config | 30 +++++++++++++++++++ 5 files changed, 146 insertions(+) create mode 100644 tests/build/build-wpa_supplicant-libressl-2.8.config create mode 100644 tests/build/build-wpa_supplicant-libressl-2.9.config create mode 100644 tests/build/build-wpa_supplicant-openssl-1.0.2.config create mode 100644 tests/build/build-wpa_supplicant-openssl-1.1.0.config create mode 100644 tests/build/build-wpa_supplicant-openssl-1.1.1.config 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 000000000..96f9e670b --- /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 000000000..6b0d31bcb --- /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 000000000..10f49fd36 --- /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 000000000..d4befd9b4 --- /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 000000000..6078d545b --- /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