From: Tobias Brunner Date: Wed, 25 Jul 2018 15:23:12 +0000 (+0200) Subject: vici: Add support for PPKs X-Git-Tag: 5.7.0rc1~19^2~17 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=1ec938288039f2c5fac984bcd99ac479eea22304;p=thirdparty%2Fstrongswan.git vici: Add support for PPKs --- 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);