aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/backends/openssl/backend.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py
index 8b332c53..76252404 100644
--- a/src/cryptography/hazmat/backends/openssl/backend.py
+++ b/src/cryptography/hazmat/backends/openssl/backend.py
@@ -1058,11 +1058,9 @@ class Backend(object):
if res == 0:
errors = self._consume_errors()
assert errors[0][1:] == (
- (
- self._lib.ERR_LIB_RSA,
- self._lib.RSA_F_RSA_SIGN,
- self._lib.RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY
- )
+ self._lib.ERR_LIB_RSA,
+ self._lib.RSA_F_RSA_SIGN,
+ self._lib.RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY
)
raise ValueError("Digest too big for RSA key")