Explicitely include all needed botan headers
Most importantely, include parsing.h, since read_cfg is not implicitely included anymore in botan 2.3, and that does not compile. Also do not included botan.h anymore, since it’s deprecated in botan 2.3 fix #3296
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <network/credentials_manager.hpp>
|
||||
#include <logger/logger.hpp>
|
||||
#include <botan/tls_exceptn.h>
|
||||
#include <botan/data_src.h>
|
||||
#include <config/config.hpp>
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
|
||||
#ifdef BOTAN_FOUND
|
||||
|
||||
#include <botan/botan.h>
|
||||
#include <botan/credentials_manager.h>
|
||||
#include <botan/certstor.h>
|
||||
#include <botan/tls_client.h>
|
||||
|
||||
class TCPSocketHandler;
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
#ifdef BOTAN_FOUND
|
||||
# include <botan/hex.h>
|
||||
# include <botan/auto_rng.h>
|
||||
# include <botan/tls_exceptn.h>
|
||||
# include <config/config.hpp>
|
||||
# include <utils/dirname.hpp>
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#ifdef BOTAN_FOUND
|
||||
|
||||
# include <botan/types.h>
|
||||
# include <botan/botan.h>
|
||||
# include <botan/tls_session_manager.h>
|
||||
# include <network/tls_policy.hpp>
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#include <network/tls_policy.hpp>
|
||||
#include <logger/logger.hpp>
|
||||
#include <botan/parsing.h>
|
||||
#include <botan/exceptn.h>
|
||||
|
||||
bool BiboumiTLSPolicy::load(const std::string& filename)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user