[tor-commits] [tor/master] Add assertions to crypto_dh_dup()