summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2011-09-13 21:39:26 +0000
committerbrueffer <brueffer@FreeBSD.org>2011-09-13 21:39:26 +0000
commit8494658150198f84d6b4f924e45deb4918496bb3 (patch)
tree2d1b6e41555385823de4106a86bfcab0725f4b75 /usr.sbin/bsdinstall
parente650288326ba09cc1909370f8968f1bdfb412f67 (diff)
downloadFreeBSD-src-8494658150198f84d6b4f924e45deb4918496bb3.zip
FreeBSD-src-8494658150198f84d6b4f924e45deb4918496bb3.tar.gz
Allow WPA PSKs up to 63 characters, the max length according to
wpa_supplicant.conf(5). Up to now, the PSK was truncated to 15 characters (the length of the input field). PR: 159559 Submitted by: Gavin Chappell <gavin.chappell@gmail.com> Approved by: re (kib)
Diffstat (limited to 'usr.sbin/bsdinstall')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/wlanconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig
index c62312a..6894279 100755
--- a/usr.sbin/bsdinstall/scripts/wlanconfig
+++ b/usr.sbin/bsdinstall/scripts/wlanconfig
@@ -92,7 +92,7 @@ if echo $ENCRYPTION | grep -q 'PSK'; then
PASS=`dialog --insecure --backtitle "FreeBSD Installer" \
--title "WPA Setup" --mixedform "" 0 0 0 \
"SSID" 1 0 "$NETWORK" 1 12 0 0 2 \
- "Password" 2 0 "" 2 12 15 0 1 \
+ "Password" 2 0 "" 2 12 15 63 1 \
2>&1 1>&3` \
|| exec $0 $@
exec 3>&-
OpenPOWER on IntegriCloud