[tor-commits] [tor/master] Make mock function static to prevent future clashes