D7850: sslutil: migrate to hashutil.sha1 instead of hashlib.sha1

2020-01-13 Thread durin42 (Augie Fackler)
Closed by commit rHGfde05ece875c: sslutil: migrate to hashutil.sha1 instead of hashlib.sha1 (authored by durin42). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7850?vs=19191&id=192

D7850: sslutil: migrate to hashutil.sha1 instead of hashlib.sha1

2020-01-13 Thread indygreg (Gregory Szorc)
This revision is now accepted and ready to land. indygreg added a comment. indygreg accepted this revision. Yeah, the new SHA-1 routine probably doesn't matter in this context. And we should probably drop support for SHA-1 certificate fingerprint verification. But consistency in using our SHA

D7850: sslutil: migrate to hashutil.sha1 instead of hashlib.sha1

2020-01-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is a straight-line replacement like the others, but I split it out since it's used in a network context and I'm not sure this is appropriate (we should prob