From: Tobias Brunner Date: Wed, 29 Nov 2017 13:21:56 +0000 (+0100) Subject: vici: Accept XAUTH as shared key type too X-Git-Tag: 5.6.2dr4~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=859d645c44e145897aa33e5b0de0e0af0fc618e3;p=thirdparty%2Fstrongswan.git vici: Accept XAUTH as shared key type too Fixes #2481. --- diff --git a/src/libcharon/plugins/vici/vici_cred.c b/src/libcharon/plugins/vici/vici_cred.c index 5d8bf2f056..ec6c80a5b9 100644 --- a/src/libcharon/plugins/vici/vici_cred.c +++ b/src/libcharon/plugins/vici/vici_cred.c @@ -434,7 +434,7 @@ CALLBACK(load_shared, vici_message_t*, { type = SHARED_IKE; } - else if (strcaseeq(str, "eap") || streq(str, "xauth")) + else if (strcaseeq(str, "eap") || strcaseeq(str, "xauth")) { type = SHARED_EAP; }