summaryrefslogtreecommitdiff
path: root/radmsg.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-17 14:28:10 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-17 14:28:10 +0000
commit4f7c11c9ea5795ac0dd32540e5045d3fc10f0a89 (patch)
tree8a8eba4584092bd3cdd7c67123825c461e6d23e3 /radmsg.c
parent0ae3e22361c9d7a7ff1cc8532095f5f3975448b5 (diff)
trying to avoid some silly compiler warnings
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@390 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radmsg.c')
-rw-r--r--radmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radmsg.c b/radmsg.c
index 0521fc6..422186d 100644
--- a/radmsg.c
+++ b/radmsg.c
@@ -235,7 +235,7 @@ uint8_t *radmsg2buf(struct radmsg *msg, uint8_t *secret) {
/* if secret set we also validate message authenticator if present */
struct radmsg *buf2radmsg(uint8_t *buf, uint8_t *secret, uint8_t *rqauth) {
struct radmsg *msg;
- uint8_t t, l, *v, *p, auth[16];
+ uint8_t t, l, *v = NULL, *p, auth[16];
uint16_t len;
struct tlv *attr;