mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-21 12:52:24 +01:00
hostapd: fix EAP-PWD in experimental hostapd-radius server
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Without initializing pwd_group, it's set to 0, which is reserved value. When EAP-PWD is used in wpa_supplicant/eapol_test, next error is seen: EAP-PWD: Server EAP-pwd-ID proposal: group=0 random=1 prf=1 prep=0 EAP-pwd: Unsupported or disabled proposal Signed-off-by: Yaroslav Isakov <yaroslav.isakov@gmail.com>
This commit is contained in:
parent
50d3d287e4
commit
9d78b2f53c
1 changed files with 1 additions and 0 deletions
|
|
@ -568,6 +568,7 @@ static int radius_setup(struct radius_state *s, struct radius_config *c)
|
|||
eap->max_auth_rounds = 100;
|
||||
eap->max_auth_rounds_short = 50;
|
||||
eap->ssl_ctx = tls_init(&conf);
|
||||
eap->pwd_group = 19;
|
||||
if (!eap->ssl_ctx) {
|
||||
wpa_printf(MSG_INFO, "TLS init failed\n");
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue