summaryrefslogtreecommitdiffstats
path: root/lib/libradius
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>2000-11-08 18:36:56 +0000
committereivind <eivind@FreeBSD.org>2000-11-08 18:36:56 +0000
commiteaa6ac15538617451be542dcba54424f662f23a9 (patch)
tree78b5f9a36cca4ede4b8405eec1dea553e2a565e8 /lib/libradius
parent97f7cec0968d034bffbf124dc2946ada93fb521a (diff)
downloadFreeBSD-src-eaa6ac15538617451be542dcba54424f662f23a9.zip
FreeBSD-src-eaa6ac15538617451be542dcba54424f662f23a9.tar.gz
Fix password clearing bug which prevented challenge/response from working.
Reviewed by: jdp
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 4742106..9af6e4b 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
OpenPOWER on IntegriCloud