bpo-38270: Check for hash digest algorithms and avoid MD5 (GH-16382)
Make it easier to run and test Python on systems with restrict crypto policies: * add requires_hashdigest to test.support to check if a hash digest algorithm is available and working * avoid MD5 in test_hmac * replace MD5 with SHA256 in test_tarfile * mark network tests that require MD5 for MD5-based digest auth or CRAM-MD5 https://bugs.python.org/issue38270
C
Christian Heimes committed
c64a1a61e6fc542cada40eb069a239317e1af36e
Parent: 417089e
Committed by Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
on 9/25/2019, 2:30:20 PM