aboutsummaryrefslogtreecommitdiffstats
path: root/eap_example
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-11-29 21:04:43 (GMT)
committerJouni Malinen <j@w1.fi>2009-11-29 21:04:43 (GMT)
commit03da66bd59567c90dc3b3b0892c3346472a0b413 (patch)
treee074941e0db7e35b7effbf93759aebe789f4105e /eap_example
parent5586f500a0c58b457e512ac01a2a316657474a15 (diff)
downloadhostap-03da66bd59567c90dc3b3b0892c3346472a0b413.zip
hostap-03da66bd59567c90dc3b3b0892c3346472a0b413.tar.gz
hostap-03da66bd59567c90dc3b3b0892c3346472a0b413.tar.bz2
Remove src/crypto from default include path
In addition, start ordering header file includes to be in more consistent order: system header files, src/utils, src/*, same directory as the *.c file.
Diffstat (limited to 'eap_example')
-rw-r--r--eap_example/Makefile2
-rw-r--r--eap_example/eap_example_server.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/eap_example/Makefile b/eap_example/Makefile
index 3efbdfa..28feb8f 100644
--- a/eap_example/Makefile
+++ b/eap_example/Makefile
@@ -18,9 +18,7 @@ CONFIG_TLS=openssl
CFLAGS += -I.
CFLAGS += -I../src
-CFLAGS += -I../src/crypto
CFLAGS += -I../src/utils
-CFLAGS += -I../src/common
# at least for now, need to include config_ssid.h and config_blob.h from
# wpa_supplicant directory
diff --git a/eap_example/eap_example_server.c b/eap_example/eap_example_server.c
index 0e28995..531383f 100644
--- a/eap_example/eap_example_server.c
+++ b/eap_example/eap_example_server.c
@@ -16,8 +16,8 @@
#include "includes.h"
#include "common.h"
+#include "crypto/tls.h"
#include "eap_server/eap.h"
-#include "tls.h"
#include "wpabuf.h"
void eap_example_peer_rx(const u8 *data, size_t data_len);