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