From 7c708298d2829b4adf4128be143ada91764ca26e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 7 Nov 2001 17:44:22 +0000 Subject: Implemented server main loop and started with import command. --- sm/misc.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 sm/misc.c (limited to 'sm/misc.c') diff --git a/sm/misc.c b/sm/misc.c new file mode 100644 index 000000000..c1bc346d1 --- /dev/null +++ b/sm/misc.c @@ -0,0 +1,41 @@ +/* misc.c - Miscellaneous fucntions + * Copyright (C) 2001 Free Software Foundation, Inc. + * + * This file is part of GnuPG. + * + * GnuPG is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * GnuPG 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "util.h" + + +/* Note: we might want to wrap this in a macro to get our hands on + the line and file wehre the error occired */ +int +map_ksba_err (int err) +{ + return -1; +} + -- cgit v1.2.3