Kea  1.9.9-git
crypto_tls.h
Go to the documentation of this file.
1 // Copyright (C) 2021 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #ifndef CRYPTO_TLS_H
8 #define CRYPTO_TLS_H
9 
11 
12 // Verify that config.h was included.
13 #ifndef CONFIG_H_WAS_INCLUDED
14 #error config.h must be included before crypto_tls.h
15 #endif
16 
17 // Include different versions.
19 #include <asiolink/botan_tls.h>
20 #include <asiolink/openssl_tls.h>
21 
22 // Verify that one version matched.
23 #ifndef COMMON_TLS_H
24 #error no TLS backend was found
25 #endif
26 
27 #endif // CRYPTO_TLS_H
Botan boost ASIO implementation of the TLS API.
Botan fake implementation of the TLS API.
OpenSSL implementation of the TLS API.