Commit 06db9b36 authored by louiz’'s avatar louiz’

Fix the build without botan, caused by credentials_manager

parent 4a518501
#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
#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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment