Factor out PuTTY setup and call when needed.
authordtucker <dtucker@openbsd.org>
Fri, 9 Feb 2024 08:47:42 +0000 (08:47 +0000)
committerdtucker <dtucker@openbsd.org>
Fri, 9 Feb 2024 08:47:42 +0000 (08:47 +0000)
commitf9236f56d6c793d6b488c5755f1c93a5efdd696d
tree51bb07bbdf56112809f9fb12b605d15de06eee62
parent936475aa266e64fa05aff58443575af837422bf9
Factor out PuTTY setup and call when needed.

This allows us to avoid PuTTY key setup when it's not needed, which
speeds up the overall test run by a couple of percent.
regress/usr.bin/ssh/putty-ciphers.sh
regress/usr.bin/ssh/putty-kex.sh
regress/usr.bin/ssh/putty-transfer.sh
regress/usr.bin/ssh/test-exec.sh