mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-26 17:28:29 -05:00
106 lines
2.6 KiB
C
106 lines
2.6 KiB
C
/*
|
|
* wpa_supplicant/hostapd - Build time configuration defines
|
|
* Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
* license.
|
|
*
|
|
* See README and COPYING for more details.
|
|
*
|
|
* This header file can be used to define configuration defines that were
|
|
* originally defined in Makefile. This is mainly meant for IDE use or for
|
|
* systems that do not have suitable 'make' tool. In these cases, it may be
|
|
* easier to have a single place for defining all the needed C pre-processor
|
|
* defines.
|
|
*/
|
|
|
|
#ifndef BUILD_CONFIG_H
|
|
#define BUILD_CONFIG_H
|
|
|
|
/* Insert configuration defines, e.g., #define EAP_MD5, here, if needed. */
|
|
|
|
#ifdef CONFIG_WIN32_DEFAULTS
|
|
#define CONFIG_NATIVE_WINDOWS
|
|
#define CONFIG_ANSI_C_EXTRA
|
|
#define CONFIG_WINPCAP
|
|
#define IEEE8021X_EAPOL
|
|
#define PKCS12_FUNCS
|
|
#define PCSC_FUNCS
|
|
#define CONFIG_CTRL_IFACE
|
|
#define CONFIG_CTRL_IFACE_NAMED_PIPE
|
|
#define CONFIG_DRIVER_NDIS
|
|
#define CONFIG_NDIS_EVENTS_INTEGRATED
|
|
#define CONFIG_DEBUG_FILE
|
|
#define EAP_MD5
|
|
#define EAP_TLS
|
|
#define EAP_MSCHAPv2
|
|
#define EAP_PEAP
|
|
#define EAP_TTLS
|
|
#define EAP_GTC
|
|
#define EAP_OTP
|
|
#define EAP_LEAP
|
|
#define EAP_TNC
|
|
#define _CRT_SECURE_NO_DEPRECATE
|
|
|
|
#ifdef USE_INTERNAL_CRYPTO
|
|
#define CONFIG_TLS_INTERNAL_CLIENT
|
|
#define CONFIG_INTERNAL_LIBTOMMATH
|
|
#define CONFIG_CRYPTO_INTERNAL
|
|
#endif /* USE_INTERNAL_CRYPTO */
|
|
#endif /* CONFIG_WIN32_DEFAULTS */
|
|
|
|
#ifdef __SYMBIAN32__
|
|
#define OS_NO_C_LIB_DEFINES
|
|
#define CONFIG_ANSI_C_EXTRA
|
|
#define CONFIG_NO_WPA_MSG
|
|
#define CONFIG_NO_HOSTAPD_LOGGER
|
|
#define CONFIG_NO_STDOUT_DEBUG
|
|
#define CONFIG_BACKEND_FILE
|
|
#define CONFIG_INTERNAL_LIBTOMMATH
|
|
#define CONFIG_CRYPTO_INTERNAL
|
|
#define IEEE8021X_EAPOL
|
|
#define PKCS12_FUNCS
|
|
#define EAP_MD5
|
|
#define EAP_TLS
|
|
#define EAP_MSCHAPv2
|
|
#define EAP_PEAP
|
|
#define EAP_TTLS
|
|
#define EAP_GTC
|
|
#define EAP_OTP
|
|
#define EAP_LEAP
|
|
#define EAP_FAST
|
|
#endif /* __SYMBIAN32__ */
|
|
|
|
#ifdef CONFIG_XCODE_DEFAULTS
|
|
#define CONFIG_DRIVER_OSX
|
|
#define CONFIG_BACKEND_FILE
|
|
#define IEEE8021X_EAPOL
|
|
#define PKCS12_FUNCS
|
|
#define CONFIG_CTRL_IFACE
|
|
#define CONFIG_CTRL_IFACE_UNIX
|
|
#define CONFIG_DEBUG_FILE
|
|
#define EAP_MD5
|
|
#define EAP_TLS
|
|
#define EAP_MSCHAPv2
|
|
#define EAP_PEAP
|
|
#define EAP_TTLS
|
|
#define EAP_GTC
|
|
#define EAP_OTP
|
|
#define EAP_LEAP
|
|
#define EAP_TNC
|
|
#define CONFIG_WPS
|
|
#define EAP_WSC
|
|
|
|
#ifdef USE_INTERNAL_CRYPTO
|
|
#define CONFIG_TLS_INTERNAL_CLIENT
|
|
#define CONFIG_INTERNAL_LIBTOMMATH
|
|
#define CONFIG_CRYPTO_INTERNAL
|
|
#endif /* USE_INTERNAL_CRYPTO */
|
|
#endif /* CONFIG_XCODE_DEFAULTS */
|
|
|
|
#endif /* BUILD_CONFIG_H */
|