[tor-commits] [tor/master] Fix some RNG function issues