mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-16 00:00:37 -04:00
48 lines
1.8 KiB
Plaintext
48 lines
1.8 KiB
Plaintext
diff -urN wpa_supplicant-2.0.ori/src/eap_peer/tncc.c wpa_supplicant-2.0/src/eap_peer/tncc.c
|
|
--- wpa_supplicant-2.0.ori/src/eap_peer/tncc.c 2013-01-12 16:42:53.000000000 +0100
|
|
+++ wpa_supplicant-2.0/src/eap_peer/tncc.c 2013-03-23 13:10:22.151059154 +0100
|
|
@@ -465,7 +465,7 @@
|
|
return -1;
|
|
}
|
|
#else /* CONFIG_NATIVE_WINDOWS */
|
|
- imc->dlhandle = dlopen(imc->path, RTLD_LAZY);
|
|
+ imc->dlhandle = dlopen(imc->path, RTLD_LAZY | RTLD_GLOBAL);
|
|
if (imc->dlhandle == NULL) {
|
|
wpa_printf(MSG_ERROR, "TNC: Failed to open IMC '%s' (%s): %s",
|
|
imc->name, imc->path, dlerror());
|
|
diff -urN wpa_supplicant-2.0.ori/wpa_supplicant/defconfig wpa_supplicant-2.0/wpa_supplicant/defconfig
|
|
--- wpa_supplicant-2.0.ori/wpa_supplicant/defconfig 2013-01-12 16:42:53.000000000 +0100
|
|
+++ wpa_supplicant-2.0/wpa_supplicant/defconfig 2013-03-23 13:06:08.759052370 +0100
|
|
@@ -86,7 +86,7 @@
|
|
CONFIG_DRIVER_WEXT=y
|
|
|
|
# Driver interface for Linux drivers using the nl80211 kernel interface
|
|
-CONFIG_DRIVER_NL80211=y
|
|
+#CONFIG_DRIVER_NL80211=y
|
|
|
|
# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
|
|
#CONFIG_DRIVER_BSD=y
|
|
@@ -193,7 +193,7 @@
|
|
#CONFIG_EAP_GPSK_SHA256=y
|
|
|
|
# EAP-TNC and related Trusted Network Connect support (experimental)
|
|
-#CONFIG_EAP_TNC=y
|
|
+CONFIG_EAP_TNC=y
|
|
|
|
# Wi-Fi Protected Setup (WPS)
|
|
#CONFIG_WPS=y
|
|
diff -urN wpa_supplicant-2.0.ori/wpa_supplicant/Makefile wpa_supplicant-2.0/wpa_supplicant/Makefile
|
|
--- wpa_supplicant-2.0.ori/wpa_supplicant/Makefile 2013-01-12 16:42:53.000000000 +0100
|
|
+++ wpa_supplicant-2.0/wpa_supplicant/Makefile 2013-03-23 13:06:08.759052370 +0100
|
|
@@ -6,8 +6,8 @@
|
|
CFLAGS = -MMD -O2 -Wall -g
|
|
endif
|
|
|
|
-export LIBDIR ?= /usr/local/lib/
|
|
-export BINDIR ?= /usr/local/sbin/
|
|
+export LIBDIR ?= /usr/lib/
|
|
+export BINDIR ?= /usr/sbin/
|
|
PKG_CONFIG ?= pkg-config
|
|
|
|
CFLAGS += -I../src
|