[tor-commits] [tor/master] Fix code for checking expired certificates on load