summaryrefslogtreecommitdiffstats
path: root/Lib/hmac.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-08-21 02:43:31 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-08-21 02:43:31 (GMT)
commitbf6f31b65fa0947c97276b0007adc3276040c706 (patch)
treee66753b9302f709f9edd6b88b7390bb6de51d635 /Lib/hmac.py
parentc3f810fb56d8d7ac37ae9c13cbd03d4c7f71dd2e (diff)
downloadcpython-bf6f31b65fa0947c97276b0007adc3276040c706.zip
cpython-bf6f31b65fa0947c97276b0007adc3276040c706.tar.gz
cpython-bf6f31b65fa0947c97276b0007adc3276040c706.tar.bz2
use blank object instead
Diffstat (limited to 'Lib/hmac.py')
-rw-r--r--Lib/hmac.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/hmac.py b/Lib/hmac.py
index 4bbdbc4..5572751 100644
--- a/Lib/hmac.py
+++ b/Lib/hmac.py
@@ -15,7 +15,7 @@ digest_size = None
# A unique object passed by HMAC.copy() to the HMAC constructor, in order
# that the latter return very quickly. HMAC("") in contrast is quite
# expensive.
-_secret_backdoor_key = []
+_secret_backdoor_key = object()
class HMAC:
"""RFC 2104 HMAC class. Also complies with RFC 4231.