Inline _copy_ctx
diff --git a/cryptography/hazmat/primitives/hashes.py b/cryptography/hazmat/primitives/hashes.py
index a50017b..bdad5e1 100644
--- a/cryptography/hazmat/primitives/hashes.py
+++ b/cryptography/hazmat/primitives/hashes.py
@@ -43,15 +43,12 @@
def copy(self):
return self.__class__(self.algorithm, backend=self._backend,
- ctx=self._copy_ctx())
+ ctx=self._backend.hashes.copy_ctx(self._ctx))
def finalize(self):
return self._backend.hashes.finalize_ctx(self._ctx,
self.algorithm.digest_size)
- def _copy_ctx(self):
- return self._backend.hashes.copy_ctx(self._ctx)
-
@interfaces.register(interfaces.HashAlgorithm)
class SHA1(object):