{
}
-void Nonce::merge(const Nonce& lower, const Nonce& higher)
+void Nonce::merge(const Nonce&, const Nonce&)
{
}
{
}
-std::string encryptSym(const std::string_view& msg, const std::string& key, Nonce& nonce, bool incrementNonce)
+std::string encryptSym(const std::string_view& msg, const std::string&, Nonce&, bool)
{
return std::string(msg);
}
-std::string decryptSym(const std::string_view& msg, const std::string& key, Nonce& nonce, bool incrementNonce)
+std::string decryptSym(const std::string_view& msg, const std::string&, Nonce&, bool)
{
return std::string(msg);
}
-string newKey(bool base64Encoded)
+string newKey(bool)
{
return "\"plaintext\"";
}
-bool isValidKey(const std::string& key)
+bool isValidKey(const std::string&)
{
return true;
}
dnsdist::console::clearHistory();
});
- luaCtx.writeFunction("testCrypto", [](boost::optional<string> optTestMsg) {
+ luaCtx.writeFunction("testCrypto", []([[maybe_unused]] boost::optional<string> optTestMsg) {
setLuaNoSideEffect();
#if defined(HAVE_LIBSODIUM) || defined(HAVE_LIBCRYPTO)
try {