Pull fix for bug #436 from branch_1_1
[freeradius.git] / src / modules / rlm_eap / libeap / tls.c
index e47c101..0ae9d23 100644 (file)
  *
  *   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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  *
  * Copyright 2001  hereUare Communications, Inc. <raghud@hereuare.com>
  * Copyright 2003  Alan DeKok <aland@freeradius.org>
+ * Copyright 2006  The FreeRADIUS server project
  */
+
+#include <freeradius-devel/ident.h>
+RCSID("$Id$")
+
 #include "eap_tls.h"
 
 /* record */
@@ -100,6 +105,7 @@ static int int_ssl_check(SSL *s, int ret, const char *text)
        if ((l = ERR_get_error()) != 0) {
                radlog(L_ERR, "rlm_eap: SSL error %s",
                       ERR_error_string(l, NULL));
+       }
        e = SSL_get_error(s, ret);
 
        switch(e) {
@@ -205,7 +211,7 @@ int tls_handshake_recv(tls_session_t *ssn)
                        return 0;
                }
        } else {
-               DEBUG2("rlm_eap_tls: Application Data");
+               radlog(L_INFO, "rlm_eap_tls: Application Data");
                /* Its clean application data, do whatever we want */
                record_init(&ssn->clean_out);
        }