DPP: Do not include common/dpp.h without CONFIG_DPP=y
This header file pulls in an OpenSSL header file and as such, should not be included without CONFIG_DPP=y to avoid bringing in an unnecessary build dependency on OpenSSL header files. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
9ec0dfa31f
commit
4b07484c3d
2 changed files with 4 additions and 0 deletions
|
@ -29,7 +29,9 @@
|
||||||
#include "common/version.h"
|
#include "common/version.h"
|
||||||
#include "common/ieee802_11_defs.h"
|
#include "common/ieee802_11_defs.h"
|
||||||
#include "common/ctrl_iface_common.h"
|
#include "common/ctrl_iface_common.h"
|
||||||
|
#ifdef CONFIG_DPP
|
||||||
#include "common/dpp.h"
|
#include "common/dpp.h"
|
||||||
|
#endif /* CONFIG_DPP */
|
||||||
#include "common/wpa_ctrl.h"
|
#include "common/wpa_ctrl.h"
|
||||||
#include "crypto/tls.h"
|
#include "crypto/tls.h"
|
||||||
#include "drivers/driver.h"
|
#include "drivers/driver.h"
|
||||||
|
|
|
@ -20,7 +20,9 @@
|
||||||
#include "common/ieee802_11_defs.h"
|
#include "common/ieee802_11_defs.h"
|
||||||
#include "common/ieee802_11_common.h"
|
#include "common/ieee802_11_common.h"
|
||||||
#include "common/wpa_ctrl.h"
|
#include "common/wpa_ctrl.h"
|
||||||
|
#ifdef CONFIG_DPP
|
||||||
#include "common/dpp.h"
|
#include "common/dpp.h"
|
||||||
|
#endif /* CONFIG_DPP */
|
||||||
#include "crypto/tls.h"
|
#include "crypto/tls.h"
|
||||||
#include "ap/hostapd.h"
|
#include "ap/hostapd.h"
|
||||||
#include "eap_peer/eap.h"
|
#include "eap_peer/eap.h"
|
||||||
|
|
Loading…
Reference in a new issue