Author: brueffer
Date: Tue Sep 13 21:39:26 2011
New Revision: 225539
URL: http://svn.freebsd.org/changeset/base/225539
Log:
  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.chapp...@gmail.com>
  Approved by:  re (kib)

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Sep 13 21:15:23 2011        
(r225538)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Sep 13 21:39:26 2011        
(r225539)
@@ -92,7 +92,7 @@ if echo $ENCRYPTION | grep -q 'PSK'; the
        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>&-
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to