RADIUS: Redesign Request Authenticator generation
Simplify and make properly random the generation of the Request Authenticator. Signed-off-by: Nick Lowe <nick.lowe@lugatech.com>
This commit is contained in:
parent
b71a64aa01
commit
2cbc6ffb3a
7 changed files with 18 additions and 28 deletions
|
@ -61,7 +61,7 @@ static void start_example(void *eloop_ctx, void *timeout_ctx)
|
|||
return;
|
||||
}
|
||||
|
||||
radius_msg_make_authenticator(msg, (u8 *) ctx, sizeof(*ctx));
|
||||
radius_msg_make_authenticator(msg);
|
||||
|
||||
if (!radius_msg_add_attr(msg, RADIUS_ATTR_USER_NAME,
|
||||
(u8 *) "user", 4)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue