From 859d645c44e145897aa33e5b0de0e0af0fc618e3 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 29 Nov 2017 14:21:56 +0100 Subject: [PATCH] vici: Accept XAUTH as shared key type too Fixes #2481. --- src/libcharon/plugins/vici/vici_cred.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }