mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
vici: Add support for PPKs
This commit is contained in:
parent
bac3ca2324
commit
1ec9382880
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user