Don't make parsing of authorized_keys' environment= option conditional
authordjm <djm@openbsd.org>
Fri, 1 May 2015 03:20:54 +0000 (03:20 +0000)
committerdjm <djm@openbsd.org>
Fri, 1 May 2015 03:20:54 +0000 (03:20 +0000)
commit0c0083e5a83252b8702df13bcfa4553c50a7cc91
treecae9dcea6e88781442eafa644fdd8d32229451b5
parent4de3f78ca296b5b748d38aac267c73703f346679
Don't make parsing of authorized_keys' environment= option conditional
on PermitUserEnv - always parse it, but only use the result if the
option is enabled. This prevents the syntax of authorized_keys changing
depending on which sshd_config options were enabled.

bz#2329; based on patch from coladict AT gmail.com, ok dtucker@
usr.bin/ssh/auth-options.c