From 93ae59a760062b5f3f3b2b34f140496cff0a1b6c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 6 Nov 2010 20:06:05 +0100 Subject: [PATCH] Add workaround for not linking against GnuTLS --- Makefile.am | 2 ++ gweb/gionotls.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 gweb/gionotls.c diff --git a/Makefile.am b/Makefile.am index cca54aa..ac4d031 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,7 +57,9 @@ noinst_PROGRAMS = sbin_PROGRAMS = src/connmand src_connmand_SOURCES = $(gdbus_sources) $(gdhcp_sources) \ + gweb/gweb.h gweb/gweb.c \ gweb/gresolv.h gweb/gresolv.c \ + gweb/giognutls.h gweb/gionotls.c \ $(builtin_sources) src/connman.ver \ src/main.c src/connman.h src/log.c src/selftest.c \ src/error.c src/plugin.c src/task.c src/element.c \ diff --git a/gweb/gionotls.c b/gweb/gionotls.c new file mode 100644 index 0000000..14b9825 --- /dev/null +++ b/gweb/gionotls.c @@ -0,0 +1,31 @@ +/* + * + * Web service library with GLib integration + * + * Copyright (C) 2009-2010 Intel Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; 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 "giognutls.h" + +GIOChannel *g_io_channel_gnutls_new(int fd) +{ + return NULL; +} -- 2.7.4