vici: Add support for PPKs

This commit is contained in:
Tobias Brunner
2018-09-10 18:03:01 +02:00
parent bac3ca2324
commit 1ec9382880
+4
View File
@@ -442,6 +442,10 @@ CALLBACK(load_shared, vici_message_t*,
{
type = SHARED_NT_HASH;
}
else if (strcaseeq(str, "ppk"))
{
type = SHARED_PPK;
}
else
{
return create_reply("invalid shared key type: %s", str);