From 1ec938288039f2c5fac984bcd99ac479eea22304 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 25 Jul 2018 17:23:12 +0200 Subject: [PATCH] vici: Add support for PPKs --- src/libcharon/plugins/vici/vici_cred.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libcharon/plugins/vici/vici_cred.c b/src/libcharon/plugins/vici/vici_cred.c index ec6c80a5b9..038338805b 100644 --- a/src/libcharon/plugins/vici/vici_cred.c +++ b/src/libcharon/plugins/vici/vici_cred.c @@ -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); -- 2.47.2