when compiled with GSSAPI support, cache supported method OIDs by
authordjm <djm@openbsd.org>
Fri, 21 Sep 2018 12:23:17 +0000 (12:23 +0000)
committerdjm <djm@openbsd.org>
Fri, 21 Sep 2018 12:23:17 +0000 (12:23 +0000)
commit03ab4ca03017e86b7f083049f5a988b6d286d23e
tree1c7b891dad9df32f1ac4776001a92e49bb31e8bd
parent036a096f05921ed2701a90eb64cd826abbafe714
when compiled with GSSAPI support, cache supported method OIDs by
calling ssh_gssapi_prepare_supported_oids() regardless of whether
GSSAPI authentication is enabled in the main config.

This avoids sandbox violations for configurations that enable GSSAPI
auth later, e.g.

Match user djm
GSSAPIAuthentication yes

bz#2107; ok dtucker@
usr.bin/ssh/sshd.c