Skip to content

Handle a change in the implementation of hashlib in Python 3.9

Nick Mathewson requested to merge nickm/tor:bug40179_part1_035 into maint-0.3.5

Previously, hashlib.shake_256 was a class (if present); now it can also be a function. This change invalidated our old compatibility/workaround code, and made one of our tests fail.

Fixes part of bug #40179 (closed); bugfix on 0.3.1.6-rc when the workaround code was added.

Merge request reports

Loading