projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
byte ordering
[l2tpns.git]
/
radius.c
diff --git
a/radius.c
b/radius.c
index
1aa9d62
..
ce1d39e
100644
(file)
--- a/
radius.c
+++ b/
radius.c
@@
-1,6
+1,6
@@
// L2TPNS Radius Stuff
// L2TPNS Radius Stuff
-char const *cvs_id_radius = "$Id: radius.c,v 1.
39 2005/08/10 11:25:56
bodea Exp $";
+char const *cvs_id_radius = "$Id: radius.c,v 1.
41 2005/08/31 12:41:09
bodea Exp $";
#include <time.h>
#include <stdio.h>
#include <time.h>
#include <stdio.h>
@@
-13,7
+13,7
@@
char const *cvs_id_radius = "$Id: radius.c,v 1.39 2005/08/10 11:25:56 bodea Exp
#include <ctype.h>
#include <netinet/in.h>
#include <errno.h>
#include <ctype.h>
#include <netinet/in.h>
#include <errno.h>
-#include
<openssl/md5.h>
+#include
"md5.h"
#include "constants.h"
#include "l2tpns.h"
#include "plugin.h"
#include "constants.h"
#include "l2tpns.h"
#include "plugin.h"
@@
-414,7
+414,7
@@
static void handle_avpair(sessionidt s, uint8_t *avp, int len)
// process RADIUS response
void processrad(uint8_t *buf, int len, char socket_index)
{
// process RADIUS response
void processrad(uint8_t *buf, int len, char socket_index)
{
- uint8_t b[MAX
CONTROL
];
+ uint8_t b[MAX
ETHER
];
MD5_CTX ctx;
uint16_t r;
sessionidt s;
MD5_CTX ctx;
uint16_t r;
sessionidt s;