Add identity hint to PSK

This commit is contained in:
Bruno Silvestre
2023-02-19 08:56:24 -03:00
parent c3f12b8c4d
commit 0e669f6c82
3 changed files with 40 additions and 7 deletions

View File

@ -19,7 +19,15 @@ local params = {
mode = "server",
protocol = "any",
options = "all",
-- PSK with just a callback
psk = pskcb,
-- PSK with identity hint
-- psk = {
-- hint = "hintpsksample",
-- callback = pskcb,
-- },
}