commit | ac590760b251506b0a152551abbf8e8d6dc2f527 | [log] [tgz] |
---|---|---|
author | dtucker@openbsd.org <dtucker@openbsd.org> | Mon Jul 16 22:25:01 2018 +0000 |
committer | Damien Miller <djm@mindrot.org> | Thu Jul 19 20:17:33 2018 +1000 |
tree | 97a1d20b346c9d65233273ecfca5eca26ff9637a | |
parent | 26efc2f5df0e3bcf6a6bbdd0506fd682d60c2145 [diff] |
upstream: 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@ OpenBSD-Commit-ID: 2e4c0ca6cc1d8daeccead2aa56192a3f9d5e1e7a