use MAX_RADIUS_ATTRIBUTE_SIZE constant from radius_message header file
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <daemon.h>
|
#include <daemon.h>
|
||||||
|
#include <radius_message.h>
|
||||||
#include <sa/authenticators/eap/eap_method.h>
|
#include <sa/authenticators/eap/eap_method.h>
|
||||||
|
|
||||||
typedef struct private_eap_ttls_peer_t private_eap_ttls_peer_t;
|
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,
|
METHOD(tls_application_t, process, status_t,
|
||||||
private_eap_ttls_peer_t *this, bio_reader_t *reader)
|
private_eap_ttls_peer_t *this, bio_reader_t *reader)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user