[tor-commits] [tor/master] Add off-by-one checks for key length.