aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_server
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-06 16:23:53 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-06 16:23:53 (GMT)
commit5c90d47657be7cda59bbf1605b989429d3e82978 (patch)
treeef0ddb477237b96994abc749adf0e84e7f33f694 /src/eap_server
parent655702f38db2f9fe52461637217cdce3db0f3675 (diff)
downloadhostap-5c90d47657be7cda59bbf1605b989429d3e82978.zip
hostap-5c90d47657be7cda59bbf1605b989429d3e82978.tar.gz
hostap-5c90d47657be7cda59bbf1605b989429d3e82978.tar.bz2
Move EAP-SIM DB conditional build into hostapd
Diffstat (limited to 'src/eap_server')
-rw-r--r--src/eap_server/eap_sim_db.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/eap_server/eap_sim_db.h b/src/eap_server/eap_sim_db.h
index a226163..ab89ae9 100644
--- a/src/eap_server/eap_sim_db.h
+++ b/src/eap_server/eap_sim_db.h
@@ -15,8 +15,6 @@
#ifndef EAP_SIM_DB_H
#define EAP_SIM_DB_H
-#if defined(EAP_SERVER_SIM) || defined(EAP_SERVER_AKA)
-
#include "eap_common/eap_sim_common.h"
/* Identity prefixes */
@@ -90,18 +88,4 @@ int eap_sim_db_resynchronize(void *priv, const u8 *identity,
size_t identity_len, const u8 *auts,
const u8 *_rand);
-#else /* EAP_SERVER_SIM || EAP_SERVER_AKA */
-static inline void *
-eap_sim_db_init(const char *config,
- void (*get_complete_cb)(void *ctx, void *session_ctx),
- void *ctx)
-{
- return (void *) 1;
-}
-
-static inline void eap_sim_db_deinit(void *priv)
-{
-}
-#endif /* EAP_SERVER_SIM || EAP_SERVER_AKA */
-
#endif /* EAP_SIM_DB_H */