diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-07-07 17:48:56 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-07-07 17:48:56 -0700 |
commit | 88d4a141dd25a87aa51fe66e5d048d5a1d14b157 (patch) | |
tree | 46440cd43da8ba9d4e4576a3f5b3600b58edc3d3 | |
parent | e8845dc7bcf215550599acb6c2851b7fd4b6d098 (diff) | |
download | cryptography-88d4a141dd25a87aa51fe66e5d048d5a1d14b157.tar.gz cryptography-88d4a141dd25a87aa51fe66e5d048d5a1d14b157.tar.bz2 cryptography-88d4a141dd25a87aa51fe66e5d048d5a1d14b157.zip |
This is unused
-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 |