Extend radius_msg_get_tunnel_password() to support multiple passwords
The new function parameter can now be used to specify which password to return. Signed-hostap: Michael Braun <michael-dev@fami-braun.de>
This commit is contained in:
parent
1a2d22a242
commit
14e919478e
3 changed files with 10 additions and 7 deletions
|
@ -482,7 +482,7 @@ hostapd_acl_recv_radius(struct radius_msg *msg, struct radius_msg *req,
|
|||
msg, &passphraselen,
|
||||
hapd->conf->radius->auth_server->shared_secret,
|
||||
hapd->conf->radius->auth_server->shared_secret_len,
|
||||
req);
|
||||
req, 0);
|
||||
cache->has_psk = passphrase != NULL;
|
||||
if (passphrase != NULL) {
|
||||
/* passphrase does not contain the NULL termination.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue