diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-12 10:27:49 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-12 10:27:49 -0800 |
commit | 217e3b55bf91c4c633a7b79f1b7f8bf2e3e6be31 (patch) | |
tree | fa2ded8ae0ffb59c10c6a63d711d2ae06ba0d92e /cryptography | |
parent | 1d75bfa060ff55c4e415a8d34f8e55025fed9a86 (diff) | |
download | cryptography-217e3b55bf91c4c633a7b79f1b7f8bf2e3e6be31.tar.gz cryptography-217e3b55bf91c4c633a7b79f1b7f8bf2e3e6be31.tar.bz2 cryptography-217e3b55bf91c4c633a7b79f1b7f8bf2e3e6be31.zip |
Fixed using copied hashes
Diffstat (limited to 'cryptography')
-rw-r--r-- | cryptography/hazmat/primitives/hashes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/primitives/hashes.py b/cryptography/hazmat/primitives/hashes.py index bdad5e16..c7748118 100644 --- a/cryptography/hazmat/primitives/hashes.py +++ b/cryptography/hazmat/primitives/hashes.py @@ -34,7 +34,7 @@ class Hash(object): if ctx is None: self._ctx = self._backend.hashes.create_ctx(self.algorithm) else: - self._ctx = None + self._ctx = ctx def update(self, data): if isinstance(data, six.text_type): |