Fix password clearing bug which prevented challenge/response from working.
Reviewed by: jdp
This commit is contained in:
parent
6b1d8ceabe
commit
62ac643d25
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68499
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user