Merge from vendor branch GCC:
[dragonfly.git] / contrib / hostapd-0.4.9 / tls_none.c
1 /*
2  * WPA Supplicant / SSL/TLS interface functions for no TLS case
3  * Copyright (c) 2004, Jouni Malinen <jkmaline@cc.hut.fi>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  *
9  * Alternatively, this software may be distributed under the terms of BSD
10  * license.
11  *
12  * See README and COPYING for more details.
13  */
14
15 #include <stdlib.h>
16 #include <stdio.h>
17
18 #include "common.h"
19 #include "tls.h"
20
21 void * tls_init(const struct tls_config *conf)
22 {
23         return (void *) 1;
24 }
25
26 void tls_deinit(void *ssl_ctx)
27 {
28 }