E-MailRelay
gssl_mbedtls_headers.h
Go to the documentation of this file.
1//
2// Copyright (C) 2001-2023 Graeme Walker <graeme_walker@users.sourceforge.net>
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
16// ===
17///
18/// \file gssl_mbedtls_headers.h
19///
20
21#ifndef G_SSL_MBEDTLS_HEADERS_H
22#define G_SSL_MBEDTLS_HEADERS_H
23
24#if GCONFIG_MBEDTLS_DISABLE_PSA_HEADER
25// 3.3.0's psa/crypto_extra.h is broken for c++17
26#define PSA_CRYPTO_EXTRA_H
27#endif
28
29#include <mbedtls/ssl.h>
30#include <mbedtls/ssl_ciphersuites.h>
31#include <mbedtls/entropy.h>
32#if GCONFIG_HAVE_MBEDTLS_NET_H
33#include <mbedtls/net.h>
34#else
35#include <mbedtls/net_sockets.h>
36#endif
37#include <mbedtls/ctr_drbg.h>
38#include <mbedtls/error.h>
39#include <mbedtls/version.h>
40#include <mbedtls/pem.h>
41#include <mbedtls/base64.h>
42#include <mbedtls/debug.h>
43#include <mbedtls/md5.h>
44#include <mbedtls/sha1.h>
45#include <mbedtls/sha256.h>
46#include <mbedtls/sha512.h>
47
48#endif