commit c40be7a7d56ad2730d81b1691f5b8e21e4b71f5d
parent 4a345511a77ba84457c741779c19e0c3570a0136
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Fri, 14 Sep 2018 17:12:47 +0200
monitor: Add EAP dummy method to keep linker happy
Diffstat:
2 files changed, 42 insertions(+), 1 deletion(-)
diff --git 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
@@ -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 <config.h>
+#endif
+
+#include <ell/ell.h>
+
+#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)