commit | 03fdce3a8db9bd6924640eafa17296b26a34eafb | [log] [tgz] |
---|---|---|
author | David Reid <dreid@dreid.org> | Mon Nov 25 09:51:32 2013 -0800 |
committer | David Reid <dreid@dreid.org> | Mon Nov 25 09:51:32 2013 -0800 |
tree | 4592a59ee285c37b3870eecff362cc22d62f5274 | |
parent | d5d085e056936ffec5461f313edda195690cd636 [diff] |
Use backend as keyword even when copying hmacs.
diff --git a/cryptography/hazmat/primitives/hmac.py b/cryptography/hazmat/primitives/hmac.py index 2bd8e4d..618bccc 100644 --- a/cryptography/hazmat/primitives/hmac.py +++ b/cryptography/hazmat/primitives/hmac.py
@@ -47,7 +47,7 @@ return HMAC( self._key, self.algorithm, - self._backend, + backend=self._backend, ctx=self._ctx.copy() )