aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/hazmat/primitives/hmac.py
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2013-11-13 10:41:28 -0800
committerDavid Reid <dreid@dreid.org>2013-11-13 10:41:28 -0800
commit2d45bc3295c62e09dd06f19e206735e374bddd61 (patch)
treef8949a7ebe891bbaa183cda6146314e67708133d /cryptography/hazmat/primitives/hmac.py
parent4826ec6e7602a3d2bca687afadb97a04a5e85ff2 (diff)
parente5aa205070877852ff2d54eebcc0d4ac9cf8465e (diff)
downloadcryptography-2d45bc3295c62e09dd06f19e206735e374bddd61.tar.gz
cryptography-2d45bc3295c62e09dd06f19e206735e374bddd61.tar.bz2
cryptography-2d45bc3295c62e09dd06f19e206735e374bddd61.zip
Merge pull request #255 from alex/remove-backends
Remove the hash and hmac specific classes, now that the logic is the Con...
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