vici: Add support for PPKs

This commit is contained in:
Tobias Brunner 2018-07-25 17:23:12 +02:00
parent bac3ca2324
commit 1ec9382880

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