HomePhabricator

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

Authored by durin42.

Description

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

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 probably drop support for sha1
fingerprints over TLS) and wanted this to be easily dropped.

Differential Revision: https://phab.mercurial-scm.org/D7850

Details

Committed
durin42Jan 13 2020, 5:16 PM
Differential Revision
D7850: sslutil: migrate to hashutil.sha1 instead of hashlib.sha1
Parents
rHG4ebd162f4d8c: core: migrate uses of hashlib.sha1 to hashutil.sha1
Branches
Unknown
Tags
Unknown