[tor-commits] [tor/maint-0.2.2] Check maximum properly in crypto_rand_int()