vici: Add support for NT Hash secrets

Fixes #1002.
This commit is contained in:
Tobias Brunner committed 2017-02-16 19:23:51 +01:00
1 parent 3bedf10b25
commit ed105f45af
3 files changed
+29 -1

No files matched your search

+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);