Fix password clearing bug which prevented challenge/response from working.

Reviewed by:	jdp
This commit is contained in:
Eivind Eklund 2000-11-08 18:36:56 +00:00
parent 6b1d8ceabe
commit 62ac643d25
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68499

View File

@ -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