openbsd-ports/security/wpa_supplicant/patches/patch-os_unix_c
reyk 16591b9b32 Add security/wpa_supplicant, a fully-featured implementation of an
IEEE 802.1X supplicant. This port does not support the wireless
WPA/WPA functionality yet, because it is missing in the OpenBSD
net80211 kernel implementation. Successfully tested with 802.1X on
ProCurve switches with OpenBSD running freeradius in the backend.

This port is based on work by Jussi Salzwedel, thanks!

ok aanriot@
2007-07-01 19:50:57 +00:00

12 lines
361 B
Plaintext

--- original/os_unix.c Sun Dec 31 22:41:44 2006
+++ os_unix.c Fri May 18 01:48:53 2007
@@ -171,7 +171,7 @@ int os_setenv(const char *name, const char *value, int
int os_unsetenv(const char *name)
{
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
unsetenv(name);
return 0;
#else