]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
auth-cfg: Don't enforce EAP_RADIUS
authorTobias Brunner <tobias@strongswan.org>
Fri, 21 Aug 2015 09:40:07 +0000 (11:40 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 21 Aug 2015 09:40:07 +0000 (11:40 +0200)
Basically the same as e79b0e07e4ab.  EAP_RADIUS is also a virtual method
that will identify itself as a different EAP method later.

src/libstrongswan/credentials/auth_cfg.c

index 1de22139717e7c34b74717a4f3c244eaf0ccbf4f..1e93f021ab5b875a570232d0a4c90c4e23e180f9 100644 (file)
@@ -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)