mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Make the hs_ntor_ref logic more correct when there is no sha3 module
This commit is contained in:
parent
8b5b7d470f
commit
ee849ee8b6
@ -60,7 +60,7 @@ try:
|
||||
except ImportError:
|
||||
# In python 3.6, the sha3 functions are in hashlib whether we
|
||||
# import sha3 or not.
|
||||
pass
|
||||
sha3 = None
|
||||
|
||||
try:
|
||||
# Pull the sha3 functions in.
|
||||
|
Loading…
Reference in New Issue
Block a user