Slot 0 in the hostbased key array was previously RSA1, but that is
authordtucker <dtucker@openbsd.org>
Mon, 16 Jul 2018 22:25:01 +0000 (22:25 +0000)
committerdtucker <dtucker@openbsd.org>
Mon, 16 Jul 2018 22:25:01 +0000 (22:25 +0000)
commitc6ff4b20364b050ae82779e09be2c0adf4aa4c49
treefec228383a1bde5f0c4ec90a6a5980abc349338c
parent387919d78d41f1ddecf6d61d77b721cf95816612
Slot 0 in the hostbased key array was previously RSA1, but that is
now gone and the slot is unused so remove it.  Remove two now-unused
macros, and add an array bounds check to the two remaining ones
(array is statically sized, so mostly a safety check on future changes).
ok markus@
usr.bin/ssh/ssh.c