From: Tobias Brunner Date: Fri, 21 Aug 2015 09:40:07 +0000 (+0200) Subject: auth-cfg: Don't enforce EAP_RADIUS X-Git-Tag: 5.3.3rc1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdb90723b7f2b94b16596b8581b10eae3401f392;p=thirdparty%2Fstrongswan.git auth-cfg: Don't enforce EAP_RADIUS Basically the same as e79b0e07e4ab. EAP_RADIUS is also a virtual method that will identify itself as a different EAP method later. --- diff --git a/src/libstrongswan/credentials/auth_cfg.c b/src/libstrongswan/credentials/auth_cfg.c index 1de2213971..1e93f021ab 100644 --- a/src/libstrongswan/credentials/auth_cfg.c +++ b/src/libstrongswan/credentials/auth_cfg.c @@ -662,7 +662,8 @@ METHOD(auth_cfg_t, complies, bool, case AUTH_RULE_EAP_TYPE: { if ((uintptr_t)value != (uintptr_t)get(this, t1) && - (uintptr_t)value != EAP_DYNAMIC) + (uintptr_t)value != EAP_DYNAMIC && + (uintptr_t)value != EAP_RADIUS) { success = FALSE; if (log_error)