aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-08-21 11:40:07 +0200
committerTobias Brunner <tobias@strongswan.org>2015-08-21 11:40:07 +0200
commitfdb90723b7f2b94b16596b8581b10eae3401f392 (patch)
treef92cb8e8eed92f4fef5448ca21186797907f85ec /src
parentefb4b9440a3bc341379b02970fd42bfc518d0d77 (diff)
downloadstrongswan-fdb90723b7f2b94b16596b8581b10eae3401f392.tar.bz2
strongswan-fdb90723b7f2b94b16596b8581b10eae3401f392.tar.xz
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.
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/credentials/auth_cfg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/credentials/auth_cfg.c b/src/libstrongswan/credentials/auth_cfg.c
index 1de221397..1e93f021a 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)