~singpolyma/biboumi

06db9b366a83121e0c914e527a367f90ec71940a — Florent Le Coz 8 years ago 4a51850
Fix the build without botan, caused by credentials_manager
2 files changed, 11 insertions(+), 0 deletions(-)

M louloulibs/network/credentials_manager.cpp
M louloulibs/network/credentials_manager.hpp
M louloulibs/network/credentials_manager.cpp => louloulibs/network/credentials_manager.cpp +6 -0
@@ 1,5 1,9 @@
#include "louloulibs.h"

#ifdef BOTAN_FOUND
#include <network/credentials_manager.hpp>
#include <logger/logger.hpp>
#include <botan/tls_exceptn.h>

Basic_Credentials_Manager::Basic_Credentials_Manager():
    Botan::Credentials_Manager()


@@ 31,3 35,5 @@ std::vector<Botan::Certificate_Store*> Basic_Credentials_Manager::trusted_certif
{
  return {&this->certificate_store};
}

#endif

M louloulibs/network/credentials_manager.hpp => louloulibs/network/credentials_manager.hpp +5 -0
@@ 1,6 1,10 @@
#ifndef BIBOUMI_CREDENTIALS_MANAGER_HPP
#define BIBOUMI_CREDENTIALS_MANAGER_HPP

#include "louloulibs.h"

#ifdef BOTAN_FOUND

#include <botan/botan.h>
#include <botan/tls_client.h>



@@ 19,4 23,5 @@ private:
  Botan::Certificate_Store_In_Memory certificate_store;
};

#endif //BOTAN_FOUND
#endif //BIBOUMI_CREDENTIALS_MANAGER_HPP