use MAX_RADIUS_ATTRIBUTE_SIZE constant from radius_message header file
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 14 Mar 2012 06:51:56 +0000 (07:51 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 14 Mar 2012 06:51:56 +0000 (07:51 +0100)
src/libcharon/plugins/eap_ttls/Makefile.am
src/libcharon/plugins/eap_ttls/eap_ttls_peer.c

index 94ce5cc..8cc82cc 100644 (file)
@@ -1,6 +1,7 @@
 
 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
 
 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
-       -I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libtls
+       -I$(top_srcdir)/src/libcharon -I$(top_srcdir)/src/libtls \
+       -I$(top_srcdir)/src/libradius
 
 AM_CFLAGS = -rdynamic
 
 
 AM_CFLAGS = -rdynamic
 
index d2feb77..4b6897b 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <debug.h>
 #include <daemon.h>
 
 #include <debug.h>
 #include <daemon.h>
-
+#include <radius_message.h>
 #include <sa/authenticators/eap/eap_method.h>
 
 typedef struct private_eap_ttls_peer_t private_eap_ttls_peer_t;
 #include <sa/authenticators/eap/eap_method.h>
 
 typedef struct private_eap_ttls_peer_t private_eap_ttls_peer_t;
@@ -64,8 +64,6 @@ struct private_eap_ttls_peer_t {
        eap_ttls_avp_t *avp;
 };
 
        eap_ttls_avp_t *avp;
 };
 
-#define MAX_RADIUS_ATTRIBUTE_SIZE      253
-
 METHOD(tls_application_t, process, status_t,
        private_eap_ttls_peer_t *this, bio_reader_t *reader)
 {
 METHOD(tls_application_t, process, status_t,
        private_eap_ttls_peer_t *this, bio_reader_t *reader)
 {