aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2013-11-25 09:51:32 -0800
committerDavid Reid <dreid@dreid.org>2013-11-25 09:51:32 -0800
commit03fdce3a8db9bd6924640eafa17296b26a34eafb (patch)
tree4592a59ee285c37b3870eecff362cc22d62f5274
parentd5d085e056936ffec5461f313edda195690cd636 (diff)
downloadcryptography-03fdce3a8db9bd6924640eafa17296b26a34eafb.tar.gz
cryptography-03fdce3a8db9bd6924640eafa17296b26a34eafb.tar.bz2
cryptography-03fdce3a8db9bd6924640eafa17296b26a34eafb.zip
Use backend as keyword even when copying hmacs.
-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 2bd8e4d3..618bccc5 100644
--- a/cryptography/hazmat/primitives/hmac.py
+++ b/cryptography/hazmat/primitives/hmac.py
@@ -47,7 +47,7 @@ class HMAC(object):
return HMAC(
self._key,
self.algorithm,
- self._backend,
+ backend=self._backend,
ctx=self._ctx.copy()
)