projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a5a04c
)
Do not forget wpa_passphrase so that WPS can use it
author
Jouni Malinen
<j@w1.fi>
Sat, 24 Jan 2009 10:51:28 +0000
(12:51 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sat, 24 Jan 2009 10:51:28 +0000
(12:51 +0200)
Send ASCII passphrase instead of derived PSK if the configuration uses
the passphrase.
hostapd/config.c
patch
|
blob
|
history
diff --git
a/hostapd/config.c
b/hostapd/config.c
index
5097f4d
..
50faf03
100644
(file)
--- a/
hostapd/config.c
+++ b/
hostapd/config.c
@@
-476,11
+476,6
@@
int hostapd_setup_wpa_psk(struct hostapd_bss_config *conf)
wpa_hexdump(MSG_DEBUG, "PSK (from passphrase)",
ssid->wpa_psk->psk, PMK_LEN);
ssid->wpa_psk->group = 1;
-
- os_memset(ssid->wpa_passphrase, 0,
- os_strlen(ssid->wpa_passphrase));
- os_free(ssid->wpa_passphrase);
- ssid->wpa_passphrase = NULL;
}
if (ssid->wpa_psk_file) {