ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/releases/8.2.34/include/tls_wolfssl.h
Revision: 9700
Committed: Sun Nov 1 13:51:59 2020 UTC (5 years, 11 months ago) by michael
Content type: text/x-chdr
File size: 1481 byte(s)
Log Message:
RELEASE TAG 8.2.34

File Contents

# Content
1 /*
2 * ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
3 *
4 * Copyright (c) 2015 Attila Molnar <attilamolnar@hush.com>
5 * Copyright (c) 2015 Adam <Adam@anope.org>
6 * Copyright (c) 2015-2020 ircd-hybrid development team
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
21 * USA
22 */
23
24 /*! \file tls_wolfssl.h
25 * \brief wolfSSL-specific TLS types
26 * \version $Id$
27 */
28
29
30 #ifndef INCLUDED_tls_wolfssl_h
31 #define INCLUDED_tls_wolfssl_h
32
33 #ifdef HAVE_LIBWOLFSSL
34
35 #define HAVE_TLS
36 #define HAVE_TLS_WOLFSSL
37
38 #include <wolfssl/options.h>
39 #include <wolfssl/ssl.h>
40
41 typedef WOLFSSL * tls_data_t;
42 typedef const WOLFSSL_EVP_MD * tls_md_t;
43
44 typedef struct
45 {
46 WOLFSSL_CTX *server_ctx;
47 WOLFSSL_CTX *client_ctx;
48 } tls_context_t;
49
50 #endif /* HAVE_LIBWOLFSSL */
51 #endif /* INCLUDED_tls_wolfssl_h */

Properties

Name Value
svn:eol-style native
svn:keywords Id