"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/modules/rlm_eap/rlm_eap.c" between
freeradius-server-3.0.22.tar.bz2 and freeradius-server-3.0.23.tar.bz2

About: FreeRADIUS Server Project - a high performance and highly configurable RADIUS server.

rlm_eap.c  (freeradius-server-3.0.22.tar.bz2):rlm_eap.c  (freeradius-server-3.0.23.tar.bz2)
skipping to change at line 18 skipping to change at line 18
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
/** /**
* $Id: d558d78088589c3cc30650f753698eaa20bacef6 $ * $Id: 49819d9ce7a86fb61de289c0ee103432e750f76f $
* @file rlm_eap.c * @file rlm_eap.c
* @brief Implements the EAP framework. * @brief Implements the EAP framework.
* *
* @copyright 2000-2003,2006 The FreeRADIUS server project * @copyright 2000-2003,2006 The FreeRADIUS server project
* @copyright 2001 hereUare Communications, Inc. <raghud@hereuare.com> * @copyright 2001 hereUare Communications, Inc. <raghud@hereuare.com>
* @copyright 2003 Alan DeKok <aland@freeradius.org> * @copyright 2003 Alan DeKok <aland@freeradius.org>
*/ */
RCSID("$Id: d558d78088589c3cc30650f753698eaa20bacef6 $") RCSID("$Id: 49819d9ce7a86fb61de289c0ee103432e750f76f $")
#include <freeradius-devel/radiusd.h> #include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h> #include <freeradius-devel/modules.h>
#include "rlm_eap.h" #include "rlm_eap.h"
#include <sys/stat.h> #include <sys/stat.h>
static const CONF_PARSER module_config[] = { static const CONF_PARSER module_config[] = {
{ "default_eap_type", FR_CONF_OFFSET(PW_TYPE_STRING, rlm_eap_t, default_m ethod_name), "md5" }, { "default_eap_type", FR_CONF_OFFSET(PW_TYPE_STRING, rlm_eap_t, default_m ethod_name), "md5" },
skipping to change at line 141 skipping to change at line 141
scs != NULL; scs != NULL;
scs = cf_subsection_find_next(cs, scs, NULL)) { scs = cf_subsection_find_next(cs, scs, NULL)) {
char const *name; char const *name;
name = cf_section_name1(scs); name = cf_section_name1(scs);
if (!name) continue; if (!name) continue;
if (!strcmp(name, TLS_CONFIG_SECTION)) continue; if (!strcmp(name, TLS_CONFIG_SECTION)) continue;
/* /*
* Don't break configurations for lazy people who still have
LEAP enabled.
*/
if (!strcmp(name, "leap")) {
WARN("rlm_eap (%s): Ignoring EAP method 'leap', because i
t is no longer supported",
inst->xlat_name, name);
continue;
}
/*
* Easier sometimes than commenting out blocks, * Easier sometimes than commenting out blocks,
* or deleting blocks. * or deleting blocks.
*/ */
if (!strcmp(name, "disable")) continue; if (!strcmp(name, "disable")) continue;
method = eap_name2type(name); method = eap_name2type(name);
if (method == PW_EAP_INVALID) { if (method == PW_EAP_INVALID) {
cf_log_err_cs(cs, "No dictionary definition for EAP metho d %s", name); cf_log_err_cs(cs, "No dictionary definition for EAP metho d %s", name);
return -1; return -1;
} }
 End of changes. 3 change blocks. 
2 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)