From: Tobias Brunner Date: Thu, 20 Aug 2015 16:35:23 +0000 (+0200) Subject: auth-cfg: Don't enforce EAP_DYNAMIC X-Git-Tag: 5.3.3rc1~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e79b0e07e4ab;p=thirdparty%2Fstrongswan.git auth-cfg: Don't enforce EAP_DYNAMIC We now store the actual method on the auth config, which won't match anymore if rightauth=eap-dynamic is configured. --- diff --git a/src/libstrongswan/credentials/auth_cfg.c b/src/libstrongswan/credentials/auth_cfg.c index 9b5763150e..1de2213971 100644 --- a/src/libstrongswan/credentials/auth_cfg.c +++ b/src/libstrongswan/credentials/auth_cfg.c @@ -661,7 +661,8 @@ METHOD(auth_cfg_t, complies, bool, } case AUTH_RULE_EAP_TYPE: { - if ((uintptr_t)value != (uintptr_t)get(this, t1)) + if ((uintptr_t)value != (uintptr_t)get(this, t1) && + (uintptr_t)value != EAP_DYNAMIC) { success = FALSE; if (log_error)