]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
eap-tls is no longer required for ttls or peap
authorMatthew Newton <mcn4@leicester.ac.uk>
Sun, 8 Apr 2012 20:07:33 +0000 (21:07 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 11 Apr 2012 06:51:28 +0000 (08:51 +0200)
src/modules/rlm_eap/rlm_eap.c

index 245cb0c7ecf71148648a9444dbb874fb9c01b0c2..542202f7dc70272ba0189dffd5d80fc6deb0c83a 100644 (file)
@@ -191,18 +191,6 @@ static int eap_instantiate(CONF_SECTION *cs, void **instance)
                }
 #endif
 
-               /*
-                *      If we're asked to load TTLS or PEAP, ensure
-                *      that we've first loaded TLS.
-                */
-               if (((eap_type == PW_EAP_TTLS) ||
-                    (eap_type == PW_EAP_PEAP)) &&
-                   (inst->types[PW_EAP_TLS] == NULL)) {
-                       radlog(L_ERR, "rlm_eap: Unable to load EAP-Type/%s, as EAP-Type/TLS is required first.",
-                              auth_type);
-                       return -1;
-               }
-
                /*
                 *      Load the type.
                 */