Fix password clearing bug which prevented challenge/response from working.
Reviewed by: jdp
This commit is contained in:
parent
6b1d8ceabe
commit
62ac643d25
@ -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…
x
Reference in New Issue
Block a user