aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/hazmat/primitives/hmac.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-13 09:35:23 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-13 09:35:23 -0800
commit063a3a25630df98f4524fdc54a55cef670810d9f (patch)
treeaf6fa583f318d2d35af1ae5654d9f08d636a1a09 /cryptography/hazmat/primitives/hmac.py
parent4826ec6e7602a3d2bca687afadb97a04a5e85ff2 (diff)
downloadcryptography-063a3a25630df98f4524fdc54a55cef670810d9f.tar.gz
cryptography-063a3a25630df98f4524fdc54a55cef670810d9f.tar.bz2
cryptography-063a3a25630df98f4524fdc54a55cef670810d9f.zip
Remove the hash and hmac specific classes, now that the logic is the Context classes they don't really add value
Diffstat (limited to 'cryptography/hazmat/primitives/hmac.py')
-rw-r--r--cryptography/hazmat/primitives/hmac.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/primitives/hmac.py b/cryptography/hazmat/primitives/hmac.py
index 0f1b4fac..1a67b332 100644
--- a/cryptography/hazmat/primitives/hmac.py
+++ b/cryptography/hazmat/primitives/hmac.py
@@ -32,7 +32,7 @@ class HMAC(object):
self._backend = backend
self._key = key
if ctx is None:
- self._ctx = self._backend.hmacs.create_ctx(key, self.algorithm)
+ self._ctx = self._backend.create_hmac_ctx(key, self.algorithm)
else:
self._ctx = ctx