Re-split the merge of the reorder-hostkeys test.
authordtucker <dtucker@openbsd.org>
Thu, 9 Mar 2023 07:11:05 +0000 (07:11 +0000)
committerdtucker <dtucker@openbsd.org>
Thu, 9 Mar 2023 07:11:05 +0000 (07:11 +0000)
commit99b90e85dd93d77afacb68c8ca337453796c1658
tree8ec308859f0d0373e4b87e170fa40e509fbc3658
parent20a30527ab7de78117375b62dfc202f864744598
Re-split the merge of the reorder-hostkeys test.

In the kex_proposal_populate_entries change I merged the the check for
reordering hostkeys with the actual reordering, but kex_assemble_names
mutates options.hostkeyalgorithms which renders the check ineffective.
Put the check back where it was.  Spotted and tested by jsg@, ok djm@
usr.bin/ssh/sshconnect2.c