diff --git a/Makefile.am b/Makefile.am index ea914223..9f80b005 100644 --- a/Makefile.am +++ b/Makefile.am @@ -190,7 +190,7 @@ monitor_iwmon_SOURCES = monitor/main.c linux/nl80211.h \ src/eapol.h src/eapol.c \ src/handshake.h src/handshake.c \ src/eap.h src/eap.c src/eap-private.h \ - src/eap-tls.c src/eap-ttls.c + src/eap-dummy.c monitor_iwmon_LDADD = ell/libell-internal.la endif diff --git a/src/eap-dummy.c b/src/eap-dummy.c new file mode 100644 index 00000000..df1da2af --- /dev/null +++ b/src/eap-dummy.c @@ -0,0 +1,41 @@ +/* + * + * Wireless daemon for Linux + * + * Copyright (C) 2016 Intel Corporation. All rights reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include + +#include "eap.h" +#include "eap-private.h" + +static int eap_dummy_init(void) +{ + return 0; +} + +static void eap_dummy_exit(void) +{ +} + +EAP_METHOD_BUILTIN(eap_dummy, eap_dummy_init, eap_dummy_exit)