[tor-commits] [tor/master] Make internal error check for unrecognized digest algorithm more robust