#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
#endif
+/// MariaDB defines PROTOCOL_VERSION which is also in a Botan enum...
+
+#ifdef PROTOCOL_VERSION
+#define BOTAN_BACKUP_FOR_PROTOCOL_VERSION PROTOCOL_VERSION
+#undef PROTOCOL_VERSION
+#endif
+
#include <boost/beast/core/error.hpp>
#ifdef BOTAN_BACKUP_FOR_PROTOCOL_VERSION
const std::string&,
const std::string&) override
{
- return (key_);
+ return (key_);
}
std::vector<Botan::Certificate_Store*> stores_;
return certs_;
}
- std::shared_ptr<Botan::Private_Key>
+ std::shared_ptr<Botan::Private_Key>
private_key_for(const Botan::X509_Certificate&,
const std::string&,
const std::string&) override
{
- return (key_);
+ return (key_);
}
std::vector<Botan::Certificate_Store*> stores_;
#include <cryptolink/crypto_hmac.h>
#include <botan/mac.h>
+#include <botan/mem_ops.h>
#include <botan/exceptn.h>
#include <cryptolink/botan_common.h>