aboutsummaryrefslogtreecommitdiff
path: root/lib/libradius
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>2000-11-08 18:36:56 +0000
committerEivind Eklund <eivind@FreeBSD.org>2000-11-08 18:36:56 +0000
commit62ac643d25d680ae702e2c48b714dbb09bd64286 (patch)
tree3a7fe3ab654e2c5d9ad8e09eab128d73a1d9bc49 /lib/libradius
parent6b1d8ceabee0e9b0776203658ff54d73a0791071 (diff)
downloadsrc-62ac643d25d680ae702e2c48b714dbb09bd64286.tar.gz
src-62ac643d25d680ae702e2c48b714dbb09bd64286.zip
Fix password clearing bug which prevented challenge/response from working.
Reviewed by: jdp
Notes
Notes: svn path=/head/; revision=68499
Diffstat (limited to 'lib/libradius')
-rw-r--r--lib/libradius/radlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libradius/radlib.c b/lib/libradius/radlib.c
index 47421065743c..9af6e4b851c4 100644
--- a/lib/libradius/radlib.c
+++ b/lib/libradius/radlib.c
@@ -63,8 +63,8 @@ clear_password(struct rad_handle *h)
if (h->pass_len != 0) {
memset(h->pass, 0, h->pass_len);
h->pass_len = 0;
- h->pass_pos = 0;
}
+ h->pass_pos = 0;
}
static void