aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/xauth.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-01-04 14:28:57 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-01-04 14:28:57 +0000
commitb4f3cd5ccf529e8a27c7680356b7178ca6a02197 (patch)
treed4468dcbd18a6d8a0a7c9ec8b1c31ee9c131f494 /src/pluto/xauth.c
parentac048a8d2ce2a197eea877af8b9fbfb4f6268832 (diff)
downloadstrongswan-b4f3cd5ccf529e8a27c7680356b7178ca6a02197.tar.bz2
strongswan-b4f3cd5ccf529e8a27c7680356b7178ca6a02197.tar.xz
added XAUTH server and client support
Diffstat (limited to 'src/pluto/xauth.c')
-rw-r--r--src/pluto/xauth.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/pluto/xauth.c b/src/pluto/xauth.c
new file mode 100644
index 000000000..e44ac4ec9
--- /dev/null
+++ b/src/pluto/xauth.c
@@ -0,0 +1,36 @@
+/* Initialization and finalization of the dynamic XAUTH module
+ * Copyright (C) 2006 Andreas Steffen
+ * Hochschule fuer Technik Rapperswil, Switzerland
+ *
+ * This program 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. See <http://www.fsf.org/copyleft/gpl.txt>.
+ *
+ * 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.
+ *
+ * RCSID $Id: xauth.c,v 1.1 2005/01/06 22:10:15 as Exp $
+ */
+
+#include <freeswan.h>
+
+#include "constants.h"
+#include "defs.h"
+#include "xauth.h"
+#include "keys.h"
+
+void
+xauth_init(void)
+{
+ /* TODO: locate and load dynamic XAUTH module */
+ xauth_defaults();
+}
+
+void
+xauth_finalize(void)
+{
+ /* TODO: unload dynamic XAUTH module */
+}