Skip to content

Commit d46d785

Browse files
authored
remove nonsense constant (#13016)
1 parent 07167d9 commit d46d785

File tree

1 file changed

+0
-2
lines changed
  • src/cryptography/hazmat/primitives/asymmetric

1 file changed

+0
-2
lines changed

src/cryptography/hazmat/primitives/asymmetric/padding.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ class MGF(metaclass=abc.ABCMeta):
9191

9292

9393
class MGF1(MGF):
94-
MAX_LENGTH = _MaxLength()
95-
9694
def __init__(self, algorithm: hashes.HashAlgorithm):
9795
if not isinstance(algorithm, hashes.HashAlgorithm):
9896
raise TypeError("Expected instance of hashes.HashAlgorithm.")

0 commit comments

Comments
 (0)