From 41745e24f311411834a123f5f8627844c3d80faf Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 6 May 2014 10:59:55 +0200 Subject: [PATCH] vici: Handle "xauth" as an alias for "eap" secrets --- 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 3557cf879..2a9231dfe 100644 --- a/src/libcharon/plugins/vici/vici_cred.c +++ b/src/libcharon/plugins/vici/vici_cred.c @@ -218,7 +218,7 @@ CALLBACK(load_shared, vici_message_t*, { type = SHARED_IKE; } - else if (strcaseeq(str, "eap")) + else if (strcaseeq(str, "eap") || streq(str, "xauth")) { type = SHARED_EAP; }