Fix the build without botan, caused by credentials_manager

This commit is contained in:
Florent Le Coz
2015-11-02 17:31:35 +01:00
parent 4a51850173
commit 06db9b366a
2 changed files with 11 additions and 0 deletions
@@ -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