#pragma once
/*
- * eap_ttls.h
- *
- * Version: $Id$
- *
- * This program is free software; you can redistribute it and/or modify
+ * This program is is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+/**
+ * $Id$
+ * @file eap_ttls.h
+ * @brief Declarations for EAP-TTLS as defined by RFC 5281
*
* @copyright 2003 Alan DeKok <aland@freeradius.org>
* @copyright 2006 The FreeRADIUS server project
#include <freeradius-devel/eap/tls.h>
-typedef struct ttls_tunnel_t {
- VALUE_PAIR *username;
- bool authenticated;
- char const *virtual_server;
-} ttls_tunnel_t;
-
extern fr_dict_attr_t const *attr_eap_tls_require_client_cert;
extern fr_dict_attr_t const *attr_proxy_to_realm;
extern fr_dict_attr_t const *attr_chap_challenge;
extern fr_dict_attr_t const *attr_user_password;
extern fr_dict_attr_t const *attr_vendor_specific;
+typedef {
+ VALUE_PAIR *username;
+ bool authenticated;
+ char const *virtual_server;
+} ttls_tunnel_t;
+
/*
* Process the TTLS portion of an EAP-TTLS request.
*/
/*
- * rlm_eap_ttls.c contains the interfaces that are called from eap
- *
- * Version: $Id$
- *
- * This program is free software; you can redistribute it and/or modify
+ * This program is is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+/**
+ * $Id$
+ * @file rlm_eap_ttls.c
+ * @brief EAP-TTLS as defined by RFC 5281
*
* @copyright 2003 Alan DeKok <aland@freeradius.org>
* @copyright 2006 The FreeRADIUS server project
/*
- * rlm_eap_ttls.c contains the interfaces that are called from eap
- *
- * Version: $Id$
- *
- * This program is free software; you can redistribute it and/or modify
+ * This program is is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+/**
+ * $Id$
+ * @file ttls.c
+ * @brief Library functions for EAP-TTLS as defined by RFC 5281
*
- * @copyright 2003 Alan DeKok <aland@freeradius.org>
- * @copyright 2006 The FreeRADIUS server project
+ * @copyright 2003 Alan DeKok <aland@freeradius.org>
+ * @copyright 2006 The FreeRADIUS server project
*/
RCSID("$Id$")