summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-07-17 10:46:09 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-07-17 10:46:09 +0000
commit2aa5af0d3ab2c664bf4ea6c4bfa90a5245e44d8c (patch)
treeaae93248aa57a8b6c4845f15ac1ecfb8344e76ec /radsecproxy.c
parent4a8f95955fe38a4cf225c29e7d8cc4b52ab40768 (diff)
fix radtlsget log message
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@304 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 806f844..91cafcf 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -993,7 +993,7 @@ int sslreadtimeout(SSL *ssl, unsigned char *buf, int num, int timeout) {
/* timeout in seconds, 0 means no timeout (blocking) */
unsigned char *radtlsget(SSL *ssl, int timeout) {
- int cnt, total, len;
+ int cnt, len;
unsigned char buf[4], *rad;
for (;;) {
@@ -1025,7 +1025,7 @@ unsigned char *radtlsget(SSL *ssl, int timeout) {
debug(DBG_WARN, "radtlsget: packet smaller than minimum radius size");
}
- debug(DBG_DBG, "radtlsget: got %d bytes", total);
+ debug(DBG_DBG, "radtlsget: got %d bytes", len);
return rad;
}