diff options
-rw-r--r-- | cryptography/hazmat/primitives/asymmetric/padding.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cryptography/hazmat/primitives/asymmetric/padding.py b/cryptography/hazmat/primitives/asymmetric/padding.py index 5fceb35f..3967e065 100644 --- a/cryptography/hazmat/primitives/asymmetric/padding.py +++ b/cryptography/hazmat/primitives/asymmetric/padding.py @@ -39,9 +39,6 @@ class PSS(object): if salt_length is not self.MAX_LENGTH and salt_length < 0: raise ValueError("salt_length must be zero or greater.") - if salt_length is None and self._mgf._salt_length is None: - raise ValueError("You must supply salt_length.") - self._salt_length = salt_length |