The documentation does not mention it and I don't think it makes
sense to require one.
Document the fact that makeKey() does return setKey('plaintext')
without libsodium support.
Reported by Charles-Henri Bruyand.
>
```
+Please note that, without libsodium support, 'makeKey()' will return
+setKey("plaintext") and the communication between the client and the
+server will not be encrypted.
+
ACL, who can use dnsdist
------------------------
For safety reasons, by default only private networks can use dnsdist, see below
});
- g_lua.writeFunction("testCrypto", [](string testmsg)
+ g_lua.writeFunction("testCrypto", [](boost::optional<string> optTestMsg)
{
try {
+ string testmsg;
+
+ if (optTestMsg) {
+ testmsg = *optTestMsg;
+ }
+ else {
+ testmsg = "testStringForCryptoTests";
+ }
+
SodiumNonce sn, sn2;
sn.init();
sn2=sn;