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:
louiz’
2017-10-04 21:51:58 +02:00
parent 1c3d4f6f5f
commit c5a0268536
5 changed files with 6 additions and 2 deletions
+1
View File
@@ -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>
/**
+2 -1
View File
@@ -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;
+1
View File
@@ -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>
-1
View File
@@ -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>
+2
View File
@@ -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)
{