aboutsummaryrefslogtreecommitdiff
path: root/contrib/hostapd/tls_none.c
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2005-06-05 22:35:03 +0000
committerSam Leffler <sam@FreeBSD.org>2005-06-05 22:35:03 +0000
commit5d48cb5da295e638c3a5c1cb2ad6731da3615f18 (patch)
treea7d225a062cd128980707f3fa918dec2d015c46b /contrib/hostapd/tls_none.c
downloadsrc-5d48cb5da295e638c3a5c1cb2ad6731da3615f18.tar.gz
src-5d48cb5da295e638c3a5c1cb2ad6731da3615f18.zip
Stripped down import of hostapd v0.3.7vendor/hostapd/0.3.7
Notes
Notes: svn path=/vendor/hostapd/dist/; revision=147021 svn path=/vendor/hostapd/0.3.7/; revision=147023; tag=vendor/hostapd/0.3.7
Diffstat (limited to 'contrib/hostapd/tls_none.c')
-rw-r--r--contrib/hostapd/tls_none.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/hostapd/tls_none.c b/contrib/hostapd/tls_none.c
new file mode 100644
index 000000000000..2b3cafc10415
--- /dev/null
+++ b/contrib/hostapd/tls_none.c
@@ -0,0 +1,22 @@
+/*
+ * WPA Supplicant / SSL/TLS interface functions for no TLS case
+ * Copyright (c) 2004, Jouni Malinen <jkmaline@cc.hut.fi>
+ *
+ * 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.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
+void * tls_init(void)
+{
+ return (void *) 1;
+}
+
+void tls_deinit(void *ssl_ctx)
+{
+}