aboutsummaryrefslogtreecommitdiff
path: root/src/test/hs_ntor_ref.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-02 12:44:39 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-02 12:44:46 -0400
commitee849ee8b6d099fb4de9d37ce6063a8955204b82 (patch)
tree7c5ba362f49c30db7ff2f84071549bab757c583a /src/test/hs_ntor_ref.py
parent8b5b7d470f4ef1957df77d343c8e87b1350351e3 (diff)
downloadtor-ee849ee8b6d099fb4de9d37ce6063a8955204b82.tar.gz
tor-ee849ee8b6d099fb4de9d37ce6063a8955204b82.zip
Make the hs_ntor_ref logic more correct when there is no sha3 module
Diffstat (limited to 'src/test/hs_ntor_ref.py')
-rw-r--r--src/test/hs_ntor_ref.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/hs_ntor_ref.py b/src/test/hs_ntor_ref.py
index 46e0e3fa4c..3dd2d6d6e0 100644
--- a/src/test/hs_ntor_ref.py
+++ b/src/test/hs_ntor_ref.py
@@ -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.