Convert RADIUS message code to use wpabuf internally

This commit is contained in:
Jouni Malinen 2009-12-19 17:12:07 +02:00
parent 9e7245bdb4
commit aa235d2ef7
4 changed files with 62 additions and 90 deletions

View file

@ -180,17 +180,7 @@ struct radius_msg {
/**
* buf - Allocated buffer for RADIUS message
*/
unsigned char *buf;
/**
* buf_size - Total size of the allocated buf in octets
*/
size_t buf_size;
/**
* buf_used - bytes used in buf
*/
size_t buf_used;
struct wpabuf *buf;
/**
* hdr - Pointer to the RADIUS header in buf