vici: Add support for NT Hash secrets

Fixes #1002.
This commit is contained in:
Tobias Brunner
2017-02-16 19:23:51 +01:00
parent 3bedf10b25
commit ed105f45af
3 changed files with 29 additions and 1 deletions
+4
View File
@@ -339,6 +339,10 @@ CALLBACK(load_shared, vici_message_t*,
{
type = SHARED_EAP;
}
else if (strcaseeq(str, "ntlm"))
{
type = SHARED_NT_HASH;
}
else
{
return create_reply("invalid shared key type: %s", str);