From ccbcd464f0c87d86f82fce9fab59c2164fb98dac Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 20 Nov 2021 16:13:17 -0500 Subject: [PATCH] Remove unused attributes (#6631) --- src/cryptography/hazmat/primitives/hashes.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cryptography/hazmat/primitives/hashes.py b/src/cryptography/hazmat/primitives/hashes.py index fee4e0eea69c..3362c2ab1507 100644 --- a/src/cryptography/hazmat/primitives/hashes.py +++ b/src/cryptography/hazmat/primitives/hashes.py @@ -75,8 +75,6 @@ def __init__( raise TypeError("Expected instance of hashes.HashAlgorithm.") self._algorithm = algorithm - self._backend = backend - if ctx is None: from cryptography.hazmat.backends.openssl.backend import ( backend as ossl,