vici: Add support for PPKs
This commit is contained in:
@@ -442,6 +442,10 @@ CALLBACK(load_shared, vici_message_t*,
|
|||||||
{
|
{
|
||||||
type = SHARED_NT_HASH;
|
type = SHARED_NT_HASH;
|
||||||
}
|
}
|
||||||
|
else if (strcaseeq(str, "ppk"))
|
||||||
|
{
|
||||||
|
type = SHARED_PPK;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return create_reply("invalid shared key type: %s", str);
|
return create_reply("invalid shared key type: %s", str);
|
||||||
|
|||||||
Reference in New Issue
Block a user